Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-tf committed Jul 23, 2023
1 parent d808cfd commit cd2a3c6
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ jobs:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: |
flyctl deploy --config fly-app-beta.toml --remote-only
flyctl deploy --config fly-app-beta.toml --remote-only \
-e "BOT_TOKEN=${{ secrets.BOT_TOKEN }},\
DB_HOST=${{ secrets.DB_HOST }},\
DB_NAME=${{ secrets.DB_NAME }},\
DB_PASSWORD=${{ secrets.DB_PASSWORD }},\
DB_PORT=${{ secrets.DB_PORT }},\
DB_USER=${{ secrets.DB_USER }},\
LOGGING_LEVEL=${{ secrets.LOGGING_LEVEL }},\
TELEGRAM_BOT_MODE=${{ secrets.TELEGRAM_BOT_MODE }},\
LINE_NOTIFY_REDIRECT_URL=${{ secrets.LINE_NOTIFY_REDIRECT_URL }},\
LINE_NOTIFY_CLIENT_ID=${{ secrets.LINE_NOTIFY_CLIENT_ID }},\
LINE_NOTIFY_CLIENT_SECRET=${{ secrets.LINE_NOTIFY_CLIENT_SECRET }},\
PERIOD_HOUR=${{ secrets.PERIOD_HOUR }},\
WEBHOOK_URL=${{ secrets.WEBHOOK_URL }}"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- run: echo "Deploy to fly develop"

0 comments on commit cd2a3c6

Please sign in to comment.