You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would personally change the image (assets/images/github-use-template-step-2.png)
in the section how to use this template, by setting the option include all branches. Otherwise the copied repo does not have the gh-pages branch, resulting in a failure ( Error: The process '/usr/bin/git' failed with exit code 1) of the GitHub action (
(Not super confident about this second point) Even if both branches are included, If the user doesn't change anything the deploy workflow (
name: Deploy
run: |
cd www/
echo -e "a\n*\nq\n"|git add -i
git commit -am "auto: deploy new website"
git push
)
fails with error code 403. One solution is to change the "Read and write permissions" in Settings -> Actions -> General -> Workflow permissions. see: https://stackoverflow.com/questions/72851548/permission-denied-to-github-actionsbot. Maybe also this should be mentioned in the how to use guidelines.
Do you have any interest in helping improve the documentation?
Yes
Do you have any suggestions for the new documents?
No response
The text was updated successfully, but these errors were encountered:
What would you like changed/added and why?
in the section how to use this template, by setting the option include all branches. Otherwise the copied repo does not have the gh-pages branch, resulting in a failure ( Error: The process '/usr/bin/git' failed with exit code 1) of the GitHub action (
run: |
git config --global user.email "myemail"
git config --global user.name "my username"
python -m pip install --upgrade pip
pip install -r mkdocs/requirements.txt
with:
ref: gh-pages
path: www)
run: |
cd www/
echo -e "a\n*\nq\n"|git add -i
git commit -am "auto: deploy new website"
git push
)
fails with error code 403. One solution is to change the "Read and write permissions" in Settings -> Actions -> General -> Workflow permissions. see: https://stackoverflow.com/questions/72851548/permission-denied-to-github-actionsbot. Maybe also this should be mentioned in the how to use guidelines.
Do you have any interest in helping improve the documentation?
Yes
Do you have any suggestions for the new documents?
No response
The text was updated successfully, but these errors were encountered: