Skip to content

Commit 4234c96

Browse files
Use another Github Action to deploy the docs
1 parent 14139c7 commit 4234c96

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/deploy-docs.yml

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

23-
- name: Deploy the website to the master branch
24-
run: |
25-
cd docs/.vuepress/dist
26-
git config --global user.name "Xavier Foucrier"
27-
git config --global user.email "[email protected]"
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
23+
- name: Deploy the documentation
24+
uses: grasilife/github-pages-deploy-action@master
25+
env:
26+
BASE_BRANCH: source
27+
BRANCH: master
28+
FOLDER: ./docs/.vuepress/dist

0 commit comments

Comments
 (0)