Skip to content

Merge pull request #240 from Naoray/main #57

Merge pull request #240 from Naoray/main

Merge pull request #240 from Naoray/main #57

Workflow file for this run

name: Build and Deploy GitHub Page
on:
push:
branches: [main]
paths:
- 'docs/**'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
npm install
export NODE_OPTIONS=--openssl-legacy-provider
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
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
dry-run: false # Set to true for convenient GitHub action testing