chore(ci): update deployment settings
This commit is contained in:
parent
fafb77dbb3
commit
53c5de4c5e
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ pipeline:
|
|||
- echo $${AGE_KEY} > ./deploy/age_key_priv
|
||||
- age --decrypt -i ./deploy/age_key_priv -o ./deploy/ssh_key_dec ./deploy/ssh_key
|
||||
- chmod 600 ./deploy/ssh_key_dec
|
||||
- rsync -avz --delete -e "ssh -p 2222 -i $PWD/deploy/ssh_key_dec -o UserKnownHostsFile=$PWD/deploy/known_hosts" dist/ www@192.168.128.90:/www
|
||||
- rsync -avz --delete -e "ssh -p 2222 -i $PWD/deploy/ssh_key_dec -o UserKnownHostsFile=$PWD/deploy/known_hosts" dist/ www@192.168.30.215:/www
|
||||
- rm -rf deploy
|
||||
secrets: [age_key]
|
||||
when:
|
||||
|
|
|
@ -1 +1 @@
|
|||
[192.168.128.90]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMOsoyWzBvwnrX3UqUIfxwzKwI3iHrA1MB+ZeY1+EToM
|
||||
[192.168.30.215]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII+tVh2XZOdnoZ4ByHYwmLaWLXsVcYhmKo6ucvmYo2lf
|
||||
|
|
Loading…
Reference in a new issue