Skip to content

Add scripts/interactive-release.sh for automated releases #963

Add scripts/interactive-release.sh for automated releases

Add scripts/interactive-release.sh for automated releases #963

# This job builds and deploys the Docusaurus site.
#
# This job builds the site on pull requests, and it also automatically deploys
# the site on push to master or on workflow dispatch to:
# https://plutus.cardano.intersectmbo.org/docs
name: "🦕 Docusaurus Site"
on:
push:
branches:
- master
workflow_dispatch:
pull_request:
jobs:
run:
name: Run
runs-on: [self-hosted, plutus-ci]
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
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: JamesIves/[email protected]
with:
folder: doc/docusaurus/build
target-folder: docs
single-commit: true