From 4645f8066cea04c3bcdab76aa6fd6d2c2c64d878 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 6 Sep 2024 17:56:31 -0500 Subject: [PATCH] fix: missing chgdir --- .github/workflows/docs.yml | 2 +- action.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4086eee..5b8e450 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # NOTE: This also serves as a test for the action. - - name: Ape Docs + - name: Docs uses: ./ with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/action.yml b/action.yml index 7cf9e60..c6e2f7d 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ name: 'sphinx-ape-action' author: 'ApeWorX Ltd.' -description: 'Build Ape or plugins documentation' +description: 'Build documentation for Ape-like packages' branding: icon: 'book' color: 'green' @@ -44,6 +44,7 @@ runs: sphinx-ape publish . --skip-push git config --local user.email "action@github.com" git config --local user.name "GitHub Action" + cd gh-pages git add . git commit -m "Update documentation" -a || true shell: bash