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

Do not try to update github-pages on pull_request #2711

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

rffontenelle
Copy link
Contributor

  • This fix issue:

PR Description:

When a pull request is created, the github-pages.yml workflow file builds the docs and tries to update the published docs. It fails with:

remote: Permission to archlinux/archinstall.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/archlinux/archinstall.git/': The requested URL returned error: 403
Error: Action failed with "The process '/usr/sbin/git' failed with exit code 128"

See this example.

This adds condition to not run "Deploy to GitHub Pages" step on pull requests

Tests and Checks

  • I have tested the code!

@svartkanin
Copy link
Collaborator

I think that makes sense, thanks for the fix

@svartkanin svartkanin merged commit 92079b0 into archlinux:master Oct 1, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants