From 42b68294817509379a2e15e7af5b1ed33a963934 Mon Sep 17 00:00:00 2001 From: Kevin Griffin Date: Wed, 4 Oct 2023 20:42:32 -0400 Subject: [PATCH] fixes doc workflow Signed-off-by: Kevin Griffin --- .github/workflows/update-documentation.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index 4b0b71f..ab4c84a 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -12,7 +12,9 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 + with: + ref: docs - uses: actions/setup-node@v2 with: @@ -23,9 +25,9 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" + git rebase main yarn yarn typedoc src/index.ts - git checkout docs git add . git commit -a -m "Update documentation"