Sentry for error tracking #14
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 Production - FlyIO | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'app/**' | |
- 'config/**' | |
- 'resources/**' | |
- 'routes/**' | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
if: steps.changes.outputs.src == 'true' | |
- run: flyctl deploy --remote-only | |
if: steps.changes.outputs.src == 'true' | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
- run: echo "halt due to no app changes related" | |
if: steps.changes.outputs.src == 'false' |