Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHA] 'site' should run on 'prepare release' commit #3302

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

harawata
Copy link
Member

We want to deploy the site when we release new version, however, with the current 'if' condition, the 'site' action does not run on the target commit.
The commit message of a release starts with "[maven-release-plugin] prepare release".

We want to deploy the site when we release new version, however, with the current 'if' condition, the 'site' action does not run on the target commit.
The commit message of a release starts with "[maven-release-plugin] prepare release".
@coveralls
Copy link

Coverage Status

coverage: 87.18%. remained the same
when pulling 5e6408d on harawata:site-deploy-on-release
into 9d1f02e on mybatis:master.

@hazendaz
Copy link
Member

@harawata I understand, that would mean it would no longer submit a site for snapshot but would send just final updates. That is probably better given we release so infrequently and snapshot data gives false impression if we have new features we don't yet make available. So I'd say go ahead and do that and send up do that point to the site branch to make sure it does as you need. If that works, we should do that elsewhere.

@hazendaz hazendaz self-assigned this Nov 27, 2024
@hazendaz
Copy link
Member

Will let you merge it since it has some follow up work to confirm it works as you expect.

@harawata harawata merged commit 4a6c025 into mybatis:master Nov 27, 2024
19 checks passed
@harawata
Copy link
Member Author

Thanks @hazendaz !

We are going to have to wait for the next release to see how this works 😅

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.

3 participants