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

CI: Split docs workflows and add write permissions for pages deployment #52

Merged
merged 5 commits into from
Jan 20, 2024

Conversation

Ryanf55
Copy link
Collaborator

@Ryanf55 Ryanf55 commented Jan 18, 2024

This is an attempted fix for #51. Oh yea, and rename the job to be correct.

Edit: Doh - no dice: https://github.com/ethz-asl/grid_map_geo/actions/runs/7565414848/job/20601127489?pr=52#step:5:145

The docs for peaceiris/actions-gh-pages do not seem suffient, and the other repo-wide permissions change is a security risk.

The approach here is to split the jobs, and only try deploying on ros2 after it's merged. Might break ros2 branch, and if it does, we'll just remove pages deploy and find another approach.

@Ryanf55 Ryanf55 added the documentation Improvements or additions to documentation label Jan 18, 2024
* Build runs like normal without the deploy
* Deploy only runs on the ros2 branch
* Reused workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows

Signed-off-by: Ryan Friedman <[email protected]>
* And remove tokens since the repo is now public

Signed-off-by: Ryan Friedman <[email protected]>
@Ryanf55 Ryanf55 changed the title Add write permissions for pages workflow CI: Split docs workflows and add write permissions for pages deployment Jan 18, 2024
@Ryanf55 Ryanf55 marked this pull request as ready for review January 18, 2024 04:59
@Ryanf55 Ryanf55 merged commit 712186b into ethz-asl:ros2 Jan 20, 2024
2 of 3 checks passed
@Ryanf55 Ryanf55 deleted the bugfix/51-gh-pages-permissions branch January 20, 2024 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants