From 788a20f409d435a4a540953960bc6ec4fe0b4337 Mon Sep 17 00:00:00 2001 From: tree Date: Sun, 8 Oct 2023 02:16:59 +0200 Subject: [PATCH] update deploy --- .github/workflows/deploy.yml | 8 +++++--- CNAME | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 CNAME diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7a120db3..d2451a5b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,7 +39,9 @@ jobs: - name: Add custom domain run: "touch dist/CNAME && echo \"data.web3privacy.info\" >> dist/CNAME" - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4 + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.ref == 'refs/heads/main' }} with: - folder: dist # The folder the action should deploy. \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist \ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index ed17da80..00000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -data.web3privacy.info \ No newline at end of file