Workflow Updates (#367) #139
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: Build and publish documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4.1.4 | |
- name: Install and Build 🔧 | |
run: | | |
cd docs | |
yarn install --frozen-lockfile | |
yarn build | |
- name: Deploy 🚀 | |
uses: wulf/github-pages-deploy-action@4.1.6 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/build # The folder the action should deploy. |