Skip to content

Commit

Permalink
Merge pull request #16 from chaoss/CI/CD-configs
Browse files Browse the repository at this point in the history
changed build directory
  • Loading branch information
kaxada authored Jul 20, 2023
2 parents 1cb9e91 + e2c2a5f commit acb8228
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Upload Build Artifact
uses: actions/upload-artifact@v2
with:
name: public
path: public
name: build
path: build

deploy:
needs: build
Expand All @@ -41,8 +41,8 @@ jobs:
- name: Download Build Artifact
uses: actions/download-artifact@v3
with:
name: public
path: public
name: build
path: build

- name: remove old build
uses: appleboy/ssh-action@master
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
build: {
outDir: 'public',
outDir: 'build',
sourcemap: true,
}
});

0 comments on commit acb8228

Please sign in to comment.