Skip to content

Commit d6b0aee

Browse files
Add GITHUB_TOKEN env variable
1 parent 566e6fa commit d6b0aee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020
- name: Build docs bundle
2121
run: npm run build
2222

23-
- name: Init a new repository
23+
- name: Deploy the website to the master branch
2424
run: |
2525
cd docs/.vuepress/dist
2626
git init
2727
git add -A
2828
git commit -m "Deploy docs"
2929
git push -f [email protected]:mojs/mojs.github.io.git master
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)