From 56fc3bfff2a2b79b1431edad7e39f06dbf24d551 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Sun, 7 Aug 2022 21:42:51 -0500 Subject: [PATCH] chore: use peaceiris/actions-gh-pages to deploy --- .github/workflows/deploy.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5811ac4..e675059 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,12 +25,9 @@ jobs: npm i npm run build - # https://github.com/marketplace/actions/deploy-to-github-pages - name: Deploy - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: peaceiris/actions-gh-pages@v3 with: - GITHUB_TOKEN: ${{ secrets.DEPLOY_KEY }} - BRANCH: gh-pages - FOLDER: build - CLEAN: true - SINGLE_COMMIT: true + deploy_key: ${{ secrets.DEPLOY_KEY }} + publish_dir: ./build + force_orphan: true