Skip to content

Proper CI procedures for npm (#170) #78

Proper CI procedures for npm (#170)

Proper CI procedures for npm (#170) #78

Workflow file for this run

name: Deploy site
on:
push:
branches: [ master ]
paths:
- docs/**
- .github/workflows/publish.yml
- package.json
workflow_dispatch:
jobs:
doc-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Install dependencies
run: npm ci
- name: Run VuePress
# Build the site using VuePress
run: npm run docs:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/.vuepress/dist # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch