Skip to content

Commit

Permalink
infra: fix cd deplouy
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonidShv committed Jun 24, 2024
1 parent 494ab39 commit 28b03e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cache: "npm"

- name: Install dependency
run: npm install
run: npm ci

- name: Setup .env
run: |
Expand All @@ -36,4 +36,9 @@ jobs:
run: npm run lint

- name: Build app
run: npm run build
run: git config --global user.email "${{ secrets.USER_EMAIL }}"
run: git config --global user.name "${{ secrets.USER_NAME }}"
run: npm run generate

- name: Deploy app
run: npm run deploy
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
devtools: { enabled: true },
modules: ["@element-plus/nuxt", "@pinia/nuxt", "@nuxt/image-edge"],
app: {
Expand Down

0 comments on commit 28b03e1

Please sign in to comment.