From 40e66d38b7cb80d75096f1fd3e3fad555ebb4294 Mon Sep 17 00:00:00 2001 From: king-p3nguin Date: Sat, 1 Jun 2024 03:40:43 +0900 Subject: [PATCH] cd: update workflow --- .github/workflows/deploy_docs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index df6fa770..aedaf16e 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -32,10 +32,11 @@ jobs: sphinx-build -M html ./docs/source ./docs/build -E - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + uses: peaceiris/actions-gh-pages@v4 with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/build/ + publish_dir: ./docs/build/html force_orphan: true + user_name: 'github-actions[bot]' + user_email: 'github-actions[bot]@users.noreply.github.com'