diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..8973e4151 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,33 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main # Change this to your main branch if different + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: "18" # or the version you're using + + - name: Install dependencies + run: npm install + + - name: Build and Export + run: | + npm run build + npm run export + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./out # The directory generated by `next export` diff --git a/public/sitemap-0.xml b/public/sitemap-0.xml index d3f764dea..af0b54936 100644 --- a/public/sitemap-0.xml +++ b/public/sitemap-0.xml @@ -1,16 +1,16 @@ -https://defichain.com2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/bug-bounty2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/explore/dex2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/explore/dfi2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/explore/masternodes2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/explore/masternodes/technical-guide2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/explore/wallets2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/learn2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/media2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/metachain2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/privacy-policy2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/security2024-10-02T07:59:16.196Zdaily0.7 -https://defichain.com/white-paper2024-10-02T07:59:16.196Zdaily0.7 +https://defichain.com2024-10-02T08:10:39.411Zdaily0.7 +https://defichain.com/bug-bounty2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/explore/dex2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/explore/dfi2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/explore/masternodes2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/explore/masternodes/technical-guide2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/explore/wallets2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/learn2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/media2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/metachain2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/privacy-policy2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/security2024-10-02T08:10:39.412Zdaily0.7 +https://defichain.com/white-paper2024-10-02T08:10:39.412Zdaily0.7 \ No newline at end of file