Merge pull request #128 from fixie-ai/juberti/deocto #76
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: Deploy to Fly.io | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy benchmarks to Fly.io | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
- run: | | |
echo '${{secrets.GCP_SERVICE_ACCOUNT}}' > service_account.json | |
flyctl deploy --remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |