[Automated] Update Data (#135) #52
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
| # See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ | |
| name: Fly Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| name: Deploy app | |
| 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 | |
| - name: Deploy | |
| run: |- | |
| flyctl deploy --local-only \ | |
| --build-arg DUCKDB_DATABASE_PATH=mrtdown.duckdb \ | |
| --build-arg SENTRY_ORG=${{ secrets.SENTRY_ORG }} \ | |
| --build-arg SENTRY_PROJECT=${{ secrets.SENTRY_PROJECT }} \ | |
| --build-arg SENTRY_RELEASE=${{ github.sha }} \ | |
| --build-secret SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \ | |
| --image-label=${{ github.sha }} | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |