Skip to content

Commit beef2a8

Browse files
committed
test GITHUB_TOKEN
1 parent 4c48ea6 commit beef2a8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/gh-pages-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
1315

1416
- name: Setup Python
1517
uses: actions/setup-python@v4

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ And browse to `http://localhost:8080/`.
2929
## TODO: How to deploy to Github pages
3030

3131
- Create branch called gh-pages
32-
- Repository -> Settings -> Pages -> Source -> Github Actions or Deploy From A Branch?
32+
- Repository -> Settings -> Pages -> Source -> Github Actions or Deploy From A Branch
33+
- Ensure GITHUB_TOKEN is in gh-pages-deploy.yaml
3334

0 commit comments

Comments
 (0)