🦕 Docusaurus Site #4
Workflow file for this run
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 builds and publishes the Docusaurus site to: | |
# https://intersectmbo.github.io/plutus/docs | |
name: "🦕 Docusaurus Site" | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: [self-hosted, plutus-shared] | |
permissions: | |
contents: write | |
environment: | |
name: github-pages | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Build Site | |
working-directory: doc/docusaurus | |
run: nix develop --no-warn-dirty --accept-flake-config --command bash -c 'yarn && yarn build' | |
- name: Deploy Site | |
uses: JamesIves/[email protected] | |
with: | |
folder: doc/docusaurus/build | |
target-folder: docs | |
single-commit: true | |