-
Notifications
You must be signed in to change notification settings - Fork 6
26 lines (25 loc) · 942 Bytes
/
fly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Fly Deploy
on:
push:
branches:
- main
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
ADYEN_API_KEY: ${{ secrets.ADYEN_API_KEY }}
ADYEN_CLIENT_KEY: ${{ secrets.ADYEN_CLIENT_KEY }}
ADYEN_HMAC_KEY: ${{ secrets.ADYEN_HMAC_KEY }}
ADYEN_MERCHANT_ACCOUNT: ${{ secrets.ADYEN_MERCHANT_ACCOUNT }}
jobs:
deploy:
environment: zeOne
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
# - run: fly volumes create adyencheckout_data --region ams (run only once)
- run: flyctl secrets set ADYEN_API_KEY="$ADYEN_API_KEY"
- run: flyctl secrets set ADYEN_CLIENT_KEY="$ADYEN_CLIENT_KEY"
- run: flyctl secrets set ADYEN_HMAC_KEY="$ADYEN_HMAC_KEY"
- run: flyctl secrets set ADYEN_MERCHANT_ACCOUNT="$ADYEN_MERCHANT_ACCOUNT"
- run: flyctl deploy --remote-only