Skip to content

Merge pull request #183 from bcgov/dependabot/npm_and_yarn/multi-977e… #60

Merge pull request #183 from bcgov/dependabot/npm_and_yarn/multi-977e…

Merge pull request #183 from bcgov/dependabot/npm_and_yarn/multi-977e… #60

Workflow file for this run

name: Deploy to GitHub pages
on:
push:
branches:
- development
release:
types:
- published
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.18"
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
cd documentation
npm install
npm run docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: documentation/docs/.vuepress/dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
CLEAN_EXCLUDE: '["version"]'