Update deploy.yml #28

Merged
leomurca merged 1 commit from development into main 2025-06-04 21:51:01 +00:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit 0cb246ec1e - Show all commits

View file

@ -18,10 +18,6 @@ jobs:
with:
node-version: 19
env:
SSH_PRIVATE_KEY: ${{secrets.SSH_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
- name: Install PM2
run: npm i -g pm2
@ -30,7 +26,6 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KEY }}" >> ./deploy.key
sudo chmod 600 ./deploy.key
echo "${{ secrets.SSH_KNOWN_HOSTS}}" > ~/.ssh/known_hosts
- name: Deploy
run: pm2 deploy ecosystem.config.cjs production

View file

@ -6,4 +6,7 @@ export default defineConfig({
define: {
APP_VERSION: JSON.stringify(process.env.npm_package_version),
},
build: {
minify: true,
},
});