build(deps): bump @docusaurus/preset-classic from 3.6.1 to 3.6.3 in /… #49
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
# | |
# This workflow is based on the example workflow from the docusaurus documentation: | |
# https://docusaurus.io/docs/deployment#triggering-deployment-with-github-actions | |
# The Docusaurus documentation is licensed under the CC-BY-4.0 license. See | |
# https://github.com/facebook/docusaurus/blob/6c7f2fde20b2448a1b966dd5f674205c0a08eeba/LICENSE-docs | |
# for more information. | |
# | |
name: "Deploy: Docusaurus Documentation" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-docusaurus: | |
name: Build Docusaurus | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./docs | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: yarn | |
cache-dependency-path: './docs/package-lock.json' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build website | |
run: yarn build | |
- name: Upload Build Artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: ./docs/build | |
deploy-docusaurus: | |
name: Deploy to GitHub Pages | |
needs: build-docusaurus | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./docs | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |