docs: remove const #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Documentation | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
branches: | |
- main | |
inputs: | |
deploy: | |
description: Deploy ? | |
required: true | |
default: false | |
type: boolean | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.16.0' | |
- name: Install Dependencies | |
run: npm install | |
- name: Build Documentation | |
run: npm run docs:build | |
- name: Deploy to GithubPages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs-dist | |
github_token: ${{ secrets.GITHUB_TOKEN }} |