From 3f3cfb421e141fa83bc1e9fedd98699d393851c8 Mon Sep 17 00:00:00 2001 From: Gerard Hickey Date: Sat, 2 Mar 2024 12:33:01 -0500 Subject: [PATCH] chore(ci): fix generation of documentation Signed-off-by: Gerard Hickey --- .github/workflows/publish-docs.yaml | 2 +- .github/workflows/release-meshchat.yaml | 14 ++++---------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index 1c1eb52..be7b2ae 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -25,7 +25,7 @@ jobs: - name: Update version strings run: | find docs -type f --exec sed -i "s/%VERSION%/${{ inputs.build_version }}/" {} \; - run: | + - run: | echo ::group::Archive artifact tar -C "_site" \ -cvf "$RUNNER_TEMP/artifact.tar" \ diff --git a/.github/workflows/release-meshchat.yaml b/.github/workflows/release-meshchat.yaml index ee90504..861317f 100644 --- a/.github/workflows/release-meshchat.yaml +++ b/.github/workflows/release-meshchat.yaml @@ -71,14 +71,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.RELEASE_IT_TOKEN }} update-documentation: - runs-on: ubuntu-latest needs: create-release - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - fetch-tags: true - - uses: - ./.github/workflows/publish-docs.yaml - with: - build_version: ${{ needs.create-release.outputs.build_version }} + uses: + ./.github/workflows/publish-docs.yaml + with: + build_version: ${{ needs.create-release.outputs.build_version }}