Skip to content

fix: deploy only after version-bump, checkout latest main HEAD - #7

Merged
cloudburstwan merged 1 commit into
mainfrom
patch/rework-versioning-again
Jun 5, 2026
Merged

cloudburstwan merged 1 commit into
mainfrom
patch/rework-versioning-again

Conversation

@Reiuiji

@Reiuiji Reiuiji commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Adjusted the workflow for the deploy to checkout latest main to get the new version

- Remove push trigger (was deploying before version bump finished)
- Only trigger via workflow_run after Auto Version Bump completes
- Checkout with ref: main to get the version bump commit
- fetch-depth: 0 so git rev-parse picks up the correct commit hash
- Flow: PR merge → version-bump → deploy (always in order)
@cloudburstwan
cloudburstwan merged commit 755e193 into main Jun 5, 2026
@cloudburstwan
cloudburstwan deleted the patch/rework-versioning-again branch June 5, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants