Skip to content

Merge pull request #10 from worldline/develop #5

Merge pull request #10 from worldline/develop

Merge pull request #10 from worldline/develop #5

name: Build and Deploy to github pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js 16 📌
uses: actions/setup-node@v3
with:
node-version: 16.16.0
- 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 docs
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/src/.vuepress/dist # The folder the action should deploy.
git-config-email: [email protected]
single-commit: true