Updated drone config
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2022-03-22 16:12:58 +03:00
parent 131a0b23f5
commit cbffc25a78
3 changed files with 2600 additions and 205 deletions

View File

@@ -6,8 +6,8 @@ clone:
disable: true disable: true
server: server:
host: 192.168.1.54 host: warframe.center
user: pi user: webmaster
password: password:
from_secret: password from_secret: password
@@ -44,8 +44,9 @@ steps:
- mkdir ~/.ssh - mkdir ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 400 ~/.ssh/id_rsa - chmod 400 ~/.ssh/id_rsa
- scp -o StrictHostKeyChecking=no -r ./app/.next pi@192.168.1.54:/home/pi/warframe-center/app - scp -o StrictHostKeyChecking=no -r ./app/ webmaster@warframe.center:~/warframe.center
- ssh -o StrictHostKeyChecking=no pi@192.168.1.54 "pm2 restart warframe-center-app" - scp -o StrictHostKeyChecking=no -r ./app/.next webmaster@warframe.center:~/warframe.center
- ssh -o StrictHostKeyChecking=no webmaster@warframe.center "pm2 restart warframe-center-app"
when: when:
branch: branch:
- monorepo - monorepo

2781
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,5 +7,12 @@
"url": "ssh://git@git.radner.ru:3036/anatolykopyl/warframe-center.git" "url": "ssh://git@git.radner.ru:3036/anatolykopyl/warframe-center.git"
}, },
"author": "Anatoly Kopyl", "author": "Anatoly Kopyl",
"workspaces": ["./app", "./gather", "./shared-stuff"] "workspaces": [
"./app",
"./gather",
"./shared-stuff"
],
"dependencies": {
"mongoose": "^6.2.7"
}
} }