Did you perhaps migrate to Standard recently?
Did you perhaps migrate to Standard recently?


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?--env arg, that secret will be available only to the env specified, right? So wrangler secret put foo --env "stage" would make it available only to my stage env, as created in my TOML?@acme/fonts which has the fonts in the package "files" definitions, which I want to be able to import as a Data / ArrayBuffer type in my worker (we need this for dynamic image generation). Should I use fetch in this case or what would be a good flow for this? I also wanna use @acme/fonts in our Next.js deployment for example.wrangler.toml configuration file to customize the development and deployment setup for your Worker project and other Developer Platform …

on:
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_TOKENsecrets${{ secrets.CLOUDFLARE_API_TOKEN }}CLOUDFLARE_API_TOKENsecret putwrangler secret putwrangler secret put foo --env "stage"stage@acme/fonts@acme/fontsDataon:
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 }}