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