We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b0aee commit 8ecf53fCopy full SHA for 8ecf53f
.github/workflows/deploy-docs.yml
@@ -20,12 +20,17 @@ jobs:
20
- name: Build docs bundle
21
run: npm run build
22
23
- - name: Deploy the website to the master branch
+ - name: Init a new repository
24
run: |
25
cd docs/.vuepress/dist
26
git init
27
- git add -A
28
- git commit -m "Deploy docs"
29
- git push -f [email protected]:mojs/mojs.github.io.git master
+
+ - name: Commit changes
+ uses: EndBug/add-and-commit@master
30
+ with:
31
+ branch: "master"
32
+ cwd: "./docs/.vuepress/dist"
33
+ add: ". --force"
34
+ message: "Deploy docs"
35
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments