Skip to content

Commit

Permalink
Corrige o workflow para deploy automático
Browse files Browse the repository at this point in the history
  • Loading branch information
andremaravilha committed Aug 5, 2023
1 parent 0b5e096 commit 050eb62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Resize images for production 🎨
- name: Resize images for production 🔧
run: |
sudo apt-get install -y imagemagick
mogrify -resize 600 ./src/assets/cards/imagens/*[.png,.jpg,.jpeg,.PNG,.JPG,.JPEG]
Expand Down
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config = {
};

export default defineConfig(({ command, mode }) => {
console.log(`vite.config.js: command=${command} mode=${mode}`);

if (command === 'serve') {

// Development mode (vite dev)
Expand All @@ -43,6 +43,6 @@ export default defineConfig(({ command, mode }) => {
outDir: 'dist'
}
};

}
});

0 comments on commit 050eb62

Please sign in to comment.