Skip to content

Commit

Permalink
Build & Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ltouroumov committed Aug 25, 2023
1 parent 0c2840c commit 03743aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/nuxtjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
with:
node-version: "16"
cache: yarn
- name: Setup Pages
uses: actions/configure-pages@v3
with:
static_site_generator: nuxt
- name: Restore cache
uses: actions/cache@v3
with:
Expand All @@ -52,11 +48,11 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Generate Static Site
run: yarn run generate
run: yarn run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./.output/public
path: ./.nuxt/dist

# Deployment job
deploy:
Expand Down
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
baseURL: '/cyoa-editor/',
buildAssetsDir: 'assets',
},
imports: { autoImport: true },
css: [
'@unocss/reset/normalize.css',
Expand Down

0 comments on commit 03743aa

Please sign in to comment.