Merge pull request #1275 from DignitySAMP/patch-3 #740
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Fly Deploy Backend | |
| on: | |
| push: | |
| branches: | |
| - master | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| jobs: | |
| deploy: | |
| name: Deploy backend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cancel previous runs | |
| uses: styfle/cancel-workflow-action@0.13.1 | |
| with: | |
| workflow_id: 42688837 | |
| access_token: ${{ github.token }} | |
| - uses: actions/checkout@v6 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| with: | |
| version: 0.3.221 | |
| - run: flyctl deploy --remote-only --wait-timeout 300 |