From cefdbbd6968edc16f88cd2a23101d210ccb83026 Mon Sep 17 00:00:00 2001 From: Lucas Josino Date: Wed, 8 Nov 2023 17:22:00 -0300 Subject: [PATCH] ci: Fix wrong deploy step --- .github/workflows/docs.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6ea3caf..a2979ee 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,10 +29,12 @@ jobs: - name: Build docs run: yarn build:doc - - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" - - - uses: LucJosin/publish-orphan-branch@main + - name: Deploy docs + uses: peaceiris/actions-gh-pages@v3 with: - ARGS: '--dir "docs" --branch "ph-pages"' + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs + publish_branch: ph-pages + enable_jekyll: false + user_name: 'github-actions[bot]' + user_email: 'github-actions[bot]@users.noreply.github.com'