name: deploy to production on: push: branches: - master jobs: deploy: name: deploy runs-on: ubuntu-latest # container: # image: alpine:edge # volumes: # - /data:/data steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - run: git fetch --force --tags - run: hostname - run: pwd - run: ls -la - run: docker ps - run: ls -la /data data: needs: deploy runs-on: ubuntu-latest # container: # image: alpine:edge # volumes: # - /data:/data steps: - run: ls -la