Skip to content

Commit

Permalink
Merge pull request #16 from Ocelot-Social-Community/github-delpoy-action
Browse files Browse the repository at this point in the history
refactor(other): add vuepress build step to deployment workflow
  • Loading branch information
mahula authored Nov 29, 2023
2 parents 71c79b8 + f51d11e commit 7402880
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ jobs:
- name: Checkout
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
with:
target_branch: gh-pages
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"private": false,
"scripts": {
"build": "vuepress build docs",
"build-node16": "vuepress build docs",
"dev": "vuepress dev docs",
"test": "textlint \"*.md\" \"docs/**/*.md\""
},
Expand Down

0 comments on commit 7402880

Please sign in to comment.