Skip to content

Commit

Permalink
feat: prepare github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Feb 27, 2024
1 parent 6aa7e8b commit 7855f25
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Build
run: |
npm i
npm run build
mv out public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
1 change: 1 addition & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const nextConfig = {
eslint: {
ignoreDuringBuilds: process.env.QUICK_BUILD === "true",
},
output: "export",
typescript: {
ignoreBuildErrors: process.env.QUICK_BUILD === "true",
},
Expand Down
2 changes: 0 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import "./globals.css";

const inter = Inter({ subsets: ["latin"] });

export const seatContractAddress = "";

const abstraxionConfig = {
contracts: [],
dashboardUrl,
Expand Down

0 comments on commit 7855f25

Please sign in to comment.