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

First deploy to GitHub Pages should be documented #5

Open
ivoputzer opened this issue Feb 27, 2020 · 0 comments
Open

First deploy to GitHub Pages should be documented #5

ivoputzer opened this issue Feb 27, 2020 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ivoputzer
Copy link
Owner

As of right now, it is not possible to trigger a GitHub Page deployment from inside a GitHub Workflow using the provided GITHUB_TOKEN secret. Workflows are required to use either a Deploy Key or a Personal Access Token to trigger the page build automatically while pushing changes to a given branch.

It "is possible" however to push changes to branches (ie. gh-pages) and trigger the deployment separately over HTTP when the Github Page has been deployed manually at least once.

git fetch --all
git checkout -t origin/gh-pages
git commit --allow-empty -m "first and only manual deployment"
git push -u origin gh-pages

Github is currently investigating on this issue https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/m-p/26869

@ivoputzer ivoputzer self-assigned this Feb 27, 2020
@ivoputzer ivoputzer added the documentation Improvements or additions to documentation label Feb 27, 2020
@ivoputzer ivoputzer pinned this issue Feb 27, 2020
@ivoputzer ivoputzer changed the title First deploy to github pages should be documented somewhere First deploy to GitHub Pages should be documented Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant