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

GitHub Actions fail at "Deploy to GitHub Pages" for pull requests #10

Open
2 tasks
anthonyfok opened this issue Dec 24, 2021 · 0 comments
Open
2 tasks
Assignees
Labels
Bug Something isn't working

Comments

@anthonyfok
Copy link
Member

From https://github.com/OpenDRR/pathways-paper/runs/4613147866?check_suite_focus=true:

  /usr/bin/git push origin gh-pages
  remote: Permission to OpenDRR/pathways-paper.git denied to github-actions[bot].
  fatal: unable to access 'https://github.com/OpenDRR/pathways-paper.git/': The requested URL returned error: 403
  Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"

It may be a good thing that git push origin gh-pages didn't work there because we do not want Pull Requests previews replacing the rendered document from the main branch. However, it would still be nice if we could preview the rendered document from a pull request.

TODO:

  • Stop .github/workflows/asciidoctor.yml from failing: Do not run the "Deploy to GitHub Pages" step for pull requests.
  • Find alternative way to still deploy pull requests to GitHub Pages but perhaps in a different directory
@anthonyfok anthonyfok added the Bug Something isn't working label Dec 24, 2021
@anthonyfok anthonyfok self-assigned this Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant