Skip to content

Commit

Permalink
ci: add env
Browse files Browse the repository at this point in the history
  • Loading branch information
shaokeyibb committed Aug 29, 2024
1 parent cda6e5d commit e744819
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-cloudflare-workers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,18 @@ jobs:
ADMINISTRATOR_SECRET
TELEGRAM_BOT_TOKEN
TELEGRAM_CHAT_ID
GITHUB_APP_CLIENT_ID
GITHUB_APP_CLIENT_SECRET
OAUTH_JWT_SECRET
preCommands: |
wrangler d1 execute comments --yes --file=schema.sql
env:
ADMINISTRATOR_SECRET: ${{ secrets.ADMINISTRATOR_SECRET }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
GITHUB_APP_CLIENT_ID: ${{ secrets.GITHUB_APP_CLIENT_ID }}
GITHUB_APP_CLIENT_SECRET: ${{ secrets.GITHUB_APP_CLIENT_SECRET }}
OAUTH_JWT_SECRET: ${{ secrets.OAUTH_JWT_SECRET }}
upload-artifacts:
name: Upload Artifacts
runs-on: ubuntu-latest
Expand Down

0 comments on commit e744819

Please sign in to comment.