infra: add npm install command forgejo action
All checks were successful
Deploy eolas-api / deploy (push) Successful in 29s
All checks were successful
Deploy eolas-api / deploy (push) Successful in 29s
This commit is contained in:
parent
af297be06f
commit
49ea3e2554
2 changed files with 3 additions and 2 deletions
|
|
@ -67,4 +67,5 @@ jobs:
|
||||||
echo "${{ secrets.VPS_DEPLOY_USER_SSH_KEY }}" > /tmp/ssh_key
|
echo "${{ secrets.VPS_DEPLOY_USER_SSH_KEY }}" > /tmp/ssh_key
|
||||||
chmod 600 /tmp/ssh_key
|
chmod 600 /tmp/ssh_key
|
||||||
rsync -avz --delete --inplace --exclude='.env' -e "ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no" ./ ${{ vars.VPS_DEPLOY_USER }}:/var/www/eolas-api/
|
rsync -avz --delete --inplace --exclude='.env' -e "ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no" ./ ${{ vars.VPS_DEPLOY_USER }}:/var/www/eolas-api/
|
||||||
|
npm install --omit=dev
|
||||||
rm /tmp/ssh_key
|
rm /tmp/ssh_key
|
||||||
|
|
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "eolas-api",
|
"name": "eolas-api",
|
||||||
"version": "0.0.0",
|
"version": "0.2.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "eolas-api",
|
"name": "eolas-api",
|
||||||
"version": "0.0.0",
|
"version": "0.2.1",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue