Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix preview github action runner #80

Open
aterrel opened this issue Dec 26, 2024 · 1 comment
Open

Fix preview github action runner #80

aterrel opened this issue Dec 26, 2024 · 1 comment

Comments

@aterrel
Copy link
Member

aterrel commented Dec 26, 2024

Preview githhub action needs permission to deploy

The docs say:

grant actions permission to read and write to the repository…

See #76 for more information

@osamaahmed17
Copy link

@aterrel, I have been looking at this issue. As per your action, you are using a GITHUB_TOKEN. Maybe check permissions to GITHUB_TOKEN for deployment, they might be revoked. It can be checked through:

Screenshot 2025-01-12 at 00 15 01

More information for above can be found here:
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-default-github_token-permissions

I have made the PR with the following content, just added permission in the Github Actions
Screenshot 2025-01-12 at 00 14 30

More information for above can be found here:
https://github.com/peaceiris/actions-gh-pages?tab=readme-ov-file

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants