ci: artifact => server
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
|||||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
# scp -r -P 44 artifact owofannouncements@foxthesystem.space:~/server
|
# scp -r -P 44 artifact owofannouncements@foxthesystem.space:~/server
|
||||||
rsync -avzxh --delete -e 'ssh -p 44' artifact owofannouncements@foxthesystem.space:~
|
rsync -avzxh --delete -e 'ssh -p 44' server owofannouncements@foxthesystem.space:~
|
||||||
ssh -p 44 owofannouncements@foxthesystem.space "/bin/bash -c 'cd server ; yarn install --production=true'"
|
ssh -p 44 owofannouncements@foxthesystem.space "/bin/bash -c 'cd server ; yarn install --production=true'"
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user