Skip to content

Commit 0cb5a7a

Browse files
author
Juan Luna
committed
FIX: update deploy file to use node v 18.20.2
1 parent 31beb1b commit 0cb5a7a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
name: Build and Deploy
2+
23
on: [push]
4+
35
jobs:
46
build-and-deploy:
57
runs-on: ubuntu-latest
68
steps:
79
- name: Checkout
810
uses: actions/checkout@master
911

10-
- name: vuepress-deploy
11-
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
1225
env:
1326
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1427
TARGET_REPO: BrainCOGS/braincogs.github.io
1528
TARGET_BRANCH: gh-pages
16-
BUILD_SCRIPT: yarn && yarn build
1729
BUILD_DIR: src/.vuepress/dist

0 commit comments

Comments
 (0)