From f47f09b4f840169df59b4e055e8cf2aca82bd29c Mon Sep 17 00:00:00 2001 From: Paul Delafosse Date: Wed, 14 Feb 2024 14:49:01 +0100 Subject: [PATCH] ci: change gh page vuepress action --- .github/workflows/Release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Release.yaml b/.github/workflows/Release.yaml index f0ec7c9..05c5226 100644 --- a/.github/workflows/Release.yaml +++ b/.github/workflows/Release.yaml @@ -49,10 +49,10 @@ jobs: body_path: GITHUB_CHANGELOG.md tag_name: ${{ steps.release.outputs.version }} -# - name: vuepress-deploy -# uses: jenkey2011/vuepress-deploy@master -# env: -# COMMIT_MESSAGE: "chore: update gh-pages" -# ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# BUILD_SCRIPT: cd guide && yarn && yarn guide:build -# BUILD_DIR: website/.vuepress/dist/ \ No newline at end of file + - name: Deploy to GitHub Pages + uses: crazy-max/ghaction-github-pages@v4 + with: + target_branch: gh-pages + build_dir: docs/website/src/.vuepress/dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file