diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6daa96974..fc912e636 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,6 +150,7 @@ jobs: run: | cd website && npm ci && + npm run docusaurus docs:version "$CORSO_VERSION" && npm run build - uses: actions/upload-artifact@master @@ -158,6 +159,16 @@ jobs: name: website path: website/build + - name: Create Pull Request for versioned docs + uses: peter-evans/create-pull-request@v4 + if: startsWith(github.ref, 'refs/tags/') + with: + commit-message: Add new version to versioned docs + title: Add new version to versioned docs + body: Creates a new versioned set of docs for the latest release to `versioned_docs`. + branch: versioned-docs-update + add-paths: website + # ---------------------------------------------------------------------------------------------------- # --- Integration and Unit Testing ------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------