Skip to content

Commit

Permalink
Add GitHub discussion pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo-Zhixing committed Nov 4, 2023
1 parent 6169b1c commit c6de8dd
Show file tree
Hide file tree
Showing 8 changed files with 9,782 additions and 18,347 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v1
with:
node-version: 20
cache: 'npm'

- name: Checkout
uses: actions/checkout@master

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Install Dependencies
run: npm install

run: pnpm install
- name: Build
run: npm run generate
run: pnpm run generate
env:
NITRO_PRESET: cloudflare_module

Expand Down
8 changes: 8 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,13 @@ export default defineNuxtConfig({
'glsl'
]
}
},
runtimeConfig: {
githubDiscussion: {
orgName: 'dust-engine',
repoName: 'dust',
appId: 418822,
key: ''
}
}
})
Loading

0 comments on commit c6de8dd

Please sign in to comment.