Skip to content

Commit

Permalink
add yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pierregee committed Oct 2, 2024
1 parent 4e1c280 commit 0f60438
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 13 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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`
26 changes: 13 additions & 13 deletions public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://defichain.com</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/bug-bounty</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/dex</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/dfi</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/masternodes</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/masternodes/technical-guide</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/wallets</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/learn</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/media</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/metachain</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/privacy-policy</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/security</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/white-paper</loc><lastmod>2024-10-02T07:59:16.196Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com</loc><lastmod>2024-10-02T08:10:39.411Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/bug-bounty</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/dex</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/dfi</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/masternodes</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/masternodes/technical-guide</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/explore/wallets</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/learn</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/media</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/metachain</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/privacy-policy</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/security</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://defichain.com/white-paper</loc><lastmod>2024-10-02T08:10:39.412Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>

0 comments on commit 0f60438

Please sign in to comment.