The deploy workflow failed when re-running with the same version tag because Git rejects pushing a tag that already exists on the remote. - Delete local tag first (ignore if missing) - Delete remote tag first (ignore if missing) - Create and push the tag fresh This makes deploys idempotent: retrying a failed deploy with the same version (e.g., v0.1.0) will succeed by moving the tag to the current commit. For a new deploy, the delete commands silently do nothing. |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| deploy.yml | ||