Udit Rajput
CDCloudflare Developers
•Created by Udit Rajput on 6/27/2024 in #workers-help
Env ,Variables in Github Workflow
my workflow is this is there an way I can send these secrets as the vars which is not encrypted in the cloudflare environment dashboard
3 replies
CDCloudflare Developers
•Created by Udit Rajput on 6/27/2024 in #workers-help
Env ,Variables in Github Workflow
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
secrets: |
DATABASE_URL
JWT_SECRET
GROQ_KEY
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
GROQ_KEY: ${{ secrets.GROQ_KEY }}
3 replies