Skip to content

Commit

Permalink
update readme with private github pages section
Browse files Browse the repository at this point in the history
  • Loading branch information
pete911 committed Jan 8, 2022
1 parent 3812702 commit ebfabc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ git rm -rf .
git commit -m "initial commit" --allow-empty
git push -u origin gh-pages`
```
After the branch has been created go to GitHub `settings -> pages -> source -> select branch -> gh-pages`.
If the GitHub pages are private, you need to use github token to add helm repo (generate read only token for this):
- add `helm repo add <repo-name> "https://<token>@raw.githubusercontent.com/<owner>/<repo>/gh-pages"`
Branch (`gh-pages`) and remote (`origin`) can be different. They can be set by `-pages-branch` and `-remote` flags when
running hcr.
Expand Down

0 comments on commit ebfabc5

Please sign in to comment.