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