Skip to content

Commit

Permalink
[svelte] Use GitHub environment in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocontrini committed Jun 24, 2024
1 parent 3534a4e commit adb12c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Deploy
on:
push:
branches: [main, svelte]
branches: [ main, svelte ]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
timeout-minutes: 10
environment: ${{ github.ref_name == 'production' && 'production' || 'beta' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit adb12c6

Please sign in to comment.