Merge pull request #7 from movesthatmatter/refactor/chess-color #5
This file contains 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 Movex (Preview Branch) | |
on: | |
push: | |
branches: | |
- 'preview/**' | |
jobs: | |
ci: | |
uses: ./.github/workflows/ci.yml | |
deploy: | |
name: Build & Deploy | |
needs: [ci] | |
runs-on: ubuntu-latest | |
concurrency: deploy-group # optional: ensure only one action runs at a time | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: yarn install | |
- run: yarn build-movex-chessroulette | |
- run: flyctl deploy -c ./fly.movex-preview.toml --dockerfile ./Dockerfile.movex --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_PREVIEW }} |