-
For context, we usually have a workflow setup with two jobs, one is to build assets (release files, docker images) and one is to deploy. I had to delete a deployment manually today and was looking for a way to re-run my workflow but it fails because goreleaser cannot publish the artefacts again. Can I do something to run the goreleaser action in a way where it would re-run but not error if the assets already exist? E.g.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
not really, and its on purpose to avoid weird bugs (like checksum missmatches et al) what you could do is delete the entire release before running running goreleaser if it exists, can probably be done using some github action. |
Beta Was this translation helpful? Give feedback.
-
For recreate I used the api to delete everything. For re-deploy, ended up skipping this step for re-runs based on workflow event. As in if it's not a tag push but e.g. manual dispatch. |
Beta Was this translation helpful? Give feedback.
For recreate I used the api to delete everything.
For re-deploy, ended up skipping this step for re-runs based on workflow event. As in if it's not a tag push but e.g. manual dispatch.