Have you raised this on community forums? Or first time
Have you raised this on community forums? Or first time

*.{worker-name}.{subdomain}.workers.dev and *.{zone-domain}.tld.Last modified 7 days ago now?

with/environment part does? I know it's setting env vars, but what is the result of those operators i.e. the statement's intention?ubuntu or debian or alpine, etcenvironment needs to be under the same with as apiTokenwith are inputs that the action (in this case wrangler-action) acceptssecrets.CLOUDFLARE_API_TOKEN refers to a GH secret, not a Worker secretsecrets in with${{ secrets.CLOUDFLARE_API_TOKEN }} is just to say "use the API token from my GitHub secret called CLOUDFLARE_API_TOKEN"secret put?*.{worker-name}.{subdomain}.workers.dev*.{zone-domain}.tldLast modified 7 days agoon:
push:
branches:
- main
- stagewith/environmentname: Deploy
on:
push:
branches:
- main
with:
environment: ${{ github.ref_name == 'main' && 'worker-env-for-main' || 'worker-env-for-not-main' }}
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}ubuntudebianalpineenvironmentwithwithwithapiTokenwrangler-actionname: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
environment: ${{ github.ref_name == 'main' && 'worker-env-for-main' || 'worker-env-for-not-main' }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}secrets.CLOUDFLARE_API_TOKEN${{ secrets.CLOUDFLARE_API_TOKEN }}CLOUDFLARE_API_TOKENsecret puton:
push:
branches:
- main
- stage
# ...
with:
environment: ${{ github.ref_name == 'main' && 'worker-env-for-main' || 'worker-env-for-not-main' }}jobs:
deploy:
steps:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
secrets: |
SECRET1
SECRET2
env:
SECRET1: ${{ secrets.SECRET1 }}
SECRET2: ${{ secrets.SECRET2 }}