Skip to content

Commit 3ec3ded

Browse files
committed
Update deploy of lectures
1 parent 69c7699 commit 3ec3ded

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/lectures.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ jobs:
5151
run: |
5252
cp lections/*.txt lectures/dist/
5353
54-
- name: Deploy to pages branch
55-
uses: peaceiris/actions-gh-pages@v4
54+
- name: Publish generated content to GitHub Pages
55+
uses: tsunematsu21/actions-publish-gh-pages@v1.0.2
5656
with:
57-
github_token: ${{ secrets.GITHUB_TOKEN }}
58-
publish_dir: ./dist
59-
publish_branch: pages
60-
keep_files: true
57+
dir: dist
58+
branch: pages
59+
token: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)