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

Update deploy.yml #14

Open
kklamberty opened this issue Jan 30, 2023 · 1 comment
Open

Update deploy.yml #14

kklamberty opened this issue Jan 30, 2023 · 1 comment

Comments

@kklamberty
Copy link
Member

I think we need to update our deploy.yml file to include

permissions: contents: write

after the name: Deploy line. There seems to be a difference between the version we have been working on and what happens when we use that template. I can't see how to select read and write permissions (I'm prevented from doing so) in the settings>actions>general toward the bottom. However, adding these two lines to the .yml file make the check pass, so I think it's a good solution. I'm genuinely not sure if that will make it automatically able to create the gh-pages branch (which I did manually), but it seems important that write permissions are granted to the workflow.

@kklamberty
Copy link
Member Author

I found the note to try this here: https://github.com/JamesIves/github-pages-deploy-action

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

No branches or pull requests

1 participant