-
Notifications
You must be signed in to change notification settings - Fork 152
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
feat(docs): Add minimum configuration for CLI docs PoC #4136
Conversation
on: | ||
release: | ||
types: | ||
- published # Triggered only when a new release is published | ||
branches: | ||
- master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The expected behavior is: build and deploy when a new release is published. Could you check if this is the proper configuration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we release on master
.github/workflows/deploy-docs.yml
Outdated
ref: ${{ github.event.release.tag_name }} | ||
- name: Verify release commit | ||
run: | # Commit hash to compare with the commit returned by actions/checkout@v4 - Tag to compare with the latest release | ||
echo "Checked out commit: $(git rev-parse HEAD)" | ||
echo "Expected tag: ${{ github.event.release.tag_name }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is supposed to check out the release commit and allow to compare checked out commit and release commit/tag.
Could you check if this is set properly ?
ade2ccb
to
515ba4f
Compare
Scaleway CLI documentation PoC: