From 8f5d9ce8b231b83eed9b0f6361ec8cd52743857a Mon Sep 17 00:00:00 2001 From: jasonwilliams Date: Tue, 15 Mar 2022 22:40:01 +0000 Subject: [PATCH] try gh-pages action --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0d9ff7ad80..6f60b5f6a6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,9 +45,7 @@ jobs: - uses: Borales/actions-yarn@v2.3.0 with: cmd: build:prod - - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git add . - git commit -m "Deploy to GitHub pages" - git push --prefix dist origin gh-pages + - uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: ./dist + github_token: ${{ secrets.GITHUB_TOKEN }}