Skip to content

Publish page

Publish page #435

Workflow file for this run

name: Publish page
on:
push:
branches:
- master
schedule:
- cron: '0 0 1/2 * *'
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install and Build
run: |
npm install
make build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/.vuepress/dist