merge: pull request #103 from rexovolt/main #236
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: Publish Documentation | |
on: | |
push: | |
branches: [main] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install packages | |
run: pnpm install | |
- name: Build | |
run: pnpm run docs | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: docs | |
folder: docs |