Skip to content

Commit 4e64498

Browse files
Try with "GitHub Actions Bot"
1 parent e03afc2 commit 4e64498

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020
- name: Build docs bundle
2121
run: npm run build
2222

23-
- name: Commit changes
24-
uses: EndBug/add-and-commit@master
25-
with:
26-
branch: "master"
27-
add: ". --dry-run"
28-
message: "Deploy docs"
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
- name: Deploy the website to the master branch
24+
run: |
25+
cd docs/.vuepress/dist
26+
git config user.name "GitHub Actions Bot"
27+
git config user.email "<>"
28+
git init
29+
git add -A
30+
git commit -m "Deploy docs"
31+
git push -f [email protected]:mojs/mojs.github.io.git master

0 commit comments

Comments
 (0)