mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-12 23:35:59 +00:00
addvuepress build step to deployment workflow
This commit is contained in:
parent
71c79b8458
commit
f51d11ef65
10
.github/workflows/vuepress-deploy.yml
vendored
10
.github/workflows/vuepress-deploy.yml
vendored
@ -12,7 +12,15 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: vuepress-gh-pages-deploy
|
- name: Setup Node 20
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
|
||||||
|
- name: Build Vuepress Pages
|
||||||
|
run: npm install && npm run build
|
||||||
|
|
||||||
|
- name: Deploy Vuepress to Github Pages
|
||||||
uses: crazy-max/ghaction-github-pages@v4
|
uses: crazy-max/ghaction-github-pages@v4
|
||||||
with:
|
with:
|
||||||
target_branch: gh-pages
|
target_branch: gh-pages
|
||||||
|
|||||||
@ -7,7 +7,6 @@
|
|||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vuepress build docs",
|
"build": "vuepress build docs",
|
||||||
"build-node16": "vuepress build docs",
|
|
||||||
"dev": "vuepress dev docs",
|
"dev": "vuepress dev docs",
|
||||||
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user