It is deployed via wrangler and has the jurisdiction param. It has worked fine since october
It is deployed via wrangler and has the jurisdiction param. It has worked fine since october
*.{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?--env arg when doing wrangler secret put, is the secret available to all envs (in my TOML), or default to just one env in particular?on:
push:
branches:
- main
- stageon:
push:
branches:
- main
- stage
# ...
with:
environment: ${{ github.ref_name == 'main' && 'worker-env-for-main' || 'worker-env-for-not-main' }}name: 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 }}name: 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 }}jobs:
deploy:
steps:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
secrets: |
SECRET1
SECRET2
env:
SECRET1: ${{ secrets.SECRET1 }}
SECRET2: ${{ secrets.SECRET2 }}--env