From 76dc5f43fa53ddc6bf98fd36cb2f64fc4ace0d1f Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Tue, 7 May 2024 01:34:08 +0200 Subject: [PATCH 1/3] Update workflow --- .github/workflows/document_build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/document_build.yaml b/.github/workflows/document_build.yaml index f7c5c23..d46c4fc 100644 --- a/.github/workflows/document_build.yaml +++ b/.github/workflows/document_build.yaml @@ -21,6 +21,7 @@ jobs: uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: + working-directory: ${{github.workspace}} publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_build/html From f48ac26eec7370463b1272d377df14bbff9d1fba Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Tue, 7 May 2024 01:48:04 +0200 Subject: [PATCH 2/3] Update workflow --- .github/workflows/document_build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/document_build.yaml b/.github/workflows/document_build.yaml index d46c4fc..497fb86 100644 --- a/.github/workflows/document_build.yaml +++ b/.github/workflows/document_build.yaml @@ -18,11 +18,10 @@ jobs: run: | make build_document - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: - working-directory: ${{github.workspace}} publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build/html + publish_dir: ${{github.workspace}}/docs/_build/html force_orphan: true \ No newline at end of file From 512d3564330247fdca2f78e54c54b0dcc43ba252 Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Tue, 7 May 2024 01:53:46 +0200 Subject: [PATCH 3/3] Update document_build.yaml --- .github/workflows/document_build.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/document_build.yaml b/.github/workflows/document_build.yaml index 68129cc..4caaa9c 100644 --- a/.github/workflows/document_build.yaml +++ b/.github/workflows/document_build.yaml @@ -21,8 +21,7 @@ jobs: uses: peaceiris/actions-gh-pages@v4 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: - working-directory: ${{github.workspace}} publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ${{github.workspace}}/docs/_build/html - force_orphan: true \ No newline at end of file + force_orphan: true