forgejo setup
This commit is contained in:
parent
02e7701329
commit
4356394fd8
1 changed files with 2 additions and 7 deletions
|
|
@ -18,10 +18,5 @@ jobs:
|
||||||
chmod 600 ~/.ssh/deploy_key
|
chmod 600 ~/.ssh/deploy_key
|
||||||
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
||||||
echo "UserKnownHostsFile=/dev/null" >> ~/.ssh/config
|
echo "UserKnownHostsFile=/dev/null" >> ~/.ssh/config
|
||||||
ssh -i ~/.ssh/deploy_key ubuntu@porta.poweron.swiss "
|
ssh-keygen -lf ~/.ssh/deploy_key
|
||||||
cd /srv/nyla/current &&
|
ssh -i ~/.ssh/deploy_key -v ubuntu@porta.poweron.swiss "echo connected"
|
||||||
git pull &&
|
|
||||||
npm ci &&
|
|
||||||
npm run build:prod &&
|
|
||||||
sudo systemctl reload nginx
|
|
||||||
"
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue