chore: use env file for deploy host script
This commit is contained in:
parent
67298c3a7a
commit
ad2aecb1da
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
"lint": "eslint . --config eslint.config.mjs --cache",
|
"lint": "eslint . --config eslint.config.mjs --cache",
|
||||||
"format": "prettier . --write",
|
"format": "prettier . --write",
|
||||||
"check": "npm run format && npm run lint",
|
"check": "npm run format && npm run lint",
|
||||||
"deploy": "scp -r dist ayo@ayco.io:~/ayco.io-flask",
|
"deploy": "eval $(grep '^HOST' .env) && scp -r dist ayo@$HOST:~/ayco.io-flask",
|
||||||
"build:preview": "npm run build && astro preview",
|
"build:preview": "npm run build && astro preview",
|
||||||
"build:deploy": "npm run build && npm run deploy",
|
"build:deploy": "npm run build && npm run deploy",
|
||||||
"copy:dist": "npm run build && cp -R dist ../ayco.io-flask/",
|
"copy:dist": "npm run build && cp -R dist ../ayco.io-flask/",
|
||||||
|
|
Loading…
Reference in a new issue