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

build: set permissions to deploy GH pages #1724

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

dariuszkuc
Copy link
Collaborator

📝 Description

We are using https://github.com/peaceiris/actions-gh-pages which requires contents: write permission.

We could potentially refactor this to use more generic actions/upload-pages-artifact + actions/deploy-pages that require more scoped permissions but unsure how much value it gets us.

🔗 Related Issues

We won't be able to publish new GH pages until this is fixed -> see https://github.com/ExpediaGroup/graphql-kotlin/actions/runs/4427684966/jobs/7765655027#step:6:1258

We are using https://github.com/peaceiris/actions-gh-pages which requires `contents: write` permission.

We could potentially refactor this to use more generic `actions/upload-pages-artifact` + `actions/deploy-pages` that require more scoped permissions but unsure how much value it gets us.
@dariuszkuc dariuszkuc merged commit d14d64c into master Mar 15, 2023
@dariuszkuc dariuszkuc deleted the dariuszkuc-patch-1 branch March 15, 2023 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants