cloudflare / wrangler-action

🧙‍♀️ easily deploy cloudflare workers applications using wrangler and github actions
Apache License 2.0
1.27k stars 160 forks source link

You are about to publish a Workers Service that was last published via the Cloudflare Dashboard. #229

Closed winstxnhdw closed 10 months ago

winstxnhdw commented 10 months ago

I am getting the following warning.

   ▲ [WARNING] You are about to publish a Workers Service that was last published via the Cloudflare Dashboard.
    Edits that have been made via the dashboard will be overridden by your local code and config.
  ? Would you like to continue?
  🤖 Using default value in non-interactive context: yes

It's harmless but usually if I see such a warning, I assume there's probably a way to override it, something like a -y flag.

penalosa commented 10 months ago

This warning is to flag that changes have been made to your worker manually in the dashboard since the last wrangler deploy. We don't have a way to suppress this warning today. Instead, we recommend using Wrangler to make changes to your Worker as a much as possible, and minimise manual changes in the dashboard (because those changes will be cleared on the next wrangler dpeloy and not persisted)

timoanttila commented 1 month ago

@penalosa Is there a way to get all edits from Dashboard to local bulld before deploying the local version that overrides the Dashboard version?

focux commented 6 days ago

Just landed in this issue while looking for a way to pull all changes from dahboard as @timoanttila, wondering if there's a way to do it.

timoanttila commented 6 days ago

wondering if there's a way to do it.

I ended up googling values for what I needed and adding them manually to the local configuration.