Compare commits

..

No commits in common. "8e771fdc7b258388711d6c5209f8a4f098049b0d" and "c71dbaa0b9886b2e40af23d4daa2d9cf854b9acd" have entirely different histories.

2 changed files with 5 additions and 3 deletions

View file

@ -18,6 +18,10 @@ 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
@ -26,6 +30,7 @@ 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,7 +6,4 @@ export default defineConfig({
define: {
APP_VERSION: JSON.stringify(process.env.npm_package_version),
},
build: {
minify: true,
},
});