mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-25 01:41:40 +00:00
Update .gitlab-ci.yml
This commit is contained in:
@@ -33,9 +33,9 @@ deploy:
|
||||
- apt-get --yes install git ssh rsync
|
||||
- git submodule update --init --recursive
|
||||
script:
|
||||
- echo "${SSH_PRIVATE_KEY}" > id_rsa
|
||||
- chmod 700 id_rsa
|
||||
- mkdir "${HOME}/.ssh"
|
||||
- echo "${SSH_HOST_KEY}" > "${HOME}/.ssh/known_hosts"
|
||||
- echo "${SSH_PRIVATE_KEY}" > "${HOME}/.ssh/id_rsa"
|
||||
- chmod 700 "${HOME}/.ssh/id_rsa"
|
||||
- cd Main
|
||||
- rsync -e 'ssh -i id_rsa' target/* oriagranat9@frs.sourceforge.net:/home/frs/project/ori-test/
|
||||
- rsync -e ssh target/* oriagranat9@frs.sourceforge.net:/home/frs/project/ori-test/
|
||||
|
||||
Reference in New Issue
Block a user