Updated drone config
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -6,8 +6,8 @@ clone:
|
||||
disable: true
|
||||
|
||||
server:
|
||||
host: 192.168.1.54
|
||||
user: pi
|
||||
host: warframe.center
|
||||
user: webmaster
|
||||
password:
|
||||
from_secret: password
|
||||
|
||||
@@ -44,8 +44,9 @@ steps:
|
||||
- mkdir ~/.ssh
|
||||
- echo "$SSH_PRIVATE_KEY" > ~/.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
|
||||
- ssh -o StrictHostKeyChecking=no pi@192.168.1.54 "pm2 restart warframe-center-app"
|
||||
- scp -o StrictHostKeyChecking=no -r ./app/ webmaster@warframe.center:~/warframe.center
|
||||
- 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:
|
||||
branch:
|
||||
- monorepo
|
||||
|
||||
2787
package-lock.json
generated
2787
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -7,5 +7,12 @@
|
||||
"url": "ssh://git@git.radner.ru:3036/anatolykopyl/warframe-center.git"
|
||||
},
|
||||
"author": "Anatoly Kopyl",
|
||||
"workspaces": ["./app", "./gather", "./shared-stuff"]
|
||||
"workspaces": [
|
||||
"./app",
|
||||
"./gather",
|
||||
"./shared-stuff"
|
||||
],
|
||||
"dependencies": {
|
||||
"mongoose": "^6.2.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user