Compare commits
2 commits
a83ece22ce
...
72a8f194d9
| Author | SHA1 | Date | |
|---|---|---|---|
| 72a8f194d9 | |||
| 144139a13f |
2 changed files with 3 additions and 3 deletions
|
|
@ -24,9 +24,9 @@ module.exports = {
|
|||
ref: 'origin/master',
|
||||
repo: 'git@git.leomurca.xyz:leomurca/leomurca.git',
|
||||
path: '/home/deployer/prod-leomurca',
|
||||
'pre-deploy': 'rm -rf node_modules build',
|
||||
'pre-deploy': 'rm -rf node_modules build .svelte-kit',
|
||||
'post-deploy':
|
||||
'npm ci && PUBLIC_APP_ENV=production npm run build && pm2 startOrReload ecosystem.config.cjs --only leomurca-prod --env production && pm2 save',
|
||||
'npm ci --include=dev && PUBLIC_APP_ENV=production npm run build && pm2 startOrReload ecosystem.config.cjs --only leomurca-prod --env production && pm2 save',
|
||||
|
||||
env: {
|
||||
PUBLIC_APP_ENV: 'production',
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "leomurca",
|
||||
"private": true,
|
||||
"version": "0.0.4",
|
||||
"version": "0.0.5",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue