Skip to content

Commit

Permalink
- debug (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarrett committed Sep 21, 2024
1 parent d5edefa commit db4063a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,22 @@ jobs:
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Debug Environment Variables
run: { echo "FLY_API_TOKEN: "${{ secrets.FLY_API_TOKEN }}" }
run: |
echo "FLY_API_TOKEN is: $FLY_API_TOKEN"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

- name: Authenticate with Flyctl
run: flyctl auth token ${{ secrets.FLY_API_TOKEN }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
run: flyctl auth token $FLY_API_TOKEN

- name: Deploy App
run: flyctl deploy --remote-only --app $APP_NAME
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
run: flyctl deploy --remote-only --app $APP_NAME

- name: Scale App to 1
run: flyctl scale count 1 --app $APP_NAME
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
run: flyctl scale count 1 --app $APP_NAME

0 comments on commit db4063a

Please sign in to comment.