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 31beb1b commit 0cb5a7aCopy full SHA for 0cb5a7a
.github/workflows/vuepress-deploy.yml
@@ -1,17 +1,29 @@
1
name: Build and Deploy
2
+
3
on: [push]
4
5
jobs:
6
build-and-deploy:
7
runs-on: ubuntu-latest
8
steps:
9
- name: Checkout
10
uses: actions/checkout@master
11
- - name: vuepress-deploy
- uses: JuanLoLuna/vuepress-deploy@master
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v3
14
+ with:
15
+ node-version: 18.20.2
16
17
+ - name: Install Dependencies
18
+ run: yarn
19
20
+ - name: Build VuePress
21
+ run: yarn build
22
23
+ - name: Deploy to GitHub Pages
24
+ uses: JuanLoLuna/vuepress-deploy@master
25
env:
26
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
27
TARGET_REPO: BrainCOGS/braincogs.github.io
28
TARGET_BRANCH: gh-pages
- BUILD_SCRIPT: yarn && yarn build
29
BUILD_DIR: src/.vuepress/dist
0 commit comments