build(deps): bump @docusaurus/core from 2.4.1 to 2.4.3 in /docs (#130) #131
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: Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Graaf repository | |
uses: actions/checkout@v4 | |
# Node is required for npm | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Build Docusaurus website | |
run: | | |
cd docs | |
npm install | |
npm run build | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
target_branch: gh-pages | |
build_dir: docs/build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |