We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f74b7 commit 1b45888Copy full SHA for 1b45888
2 files changed
.github/workflows/vuepress-deploy.yml
@@ -0,0 +1,19 @@
1
+name: Build and Deploy
2
+on:
3
+ push:
4
+ tags:
5
+ - '*'
6
+jobs:
7
+ build-and-deploy:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@master
12
+
13
+ - name: vuepress-deploy
14
+ uses: jenkey2011/vuepress-deploy@master
15
+ env:
16
+ ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
17
+ TARGET_BRANCH: master
18
+ BUILD_SCRIPT: npm i && npm run build
19
+ BUILD_DIR: src/.vuepress/dist/
package.json
@@ -4,7 +4,7 @@
"description": "The LunaTechs website",
"main": "index.js",
"scripts": {
- "build": "vuepress ./src",
+ "build": "vuepress build ./src",
"serve": "vuepress dev ./src"
},
"repository": {
0 commit comments