mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
* use env bash instead of /bin/bash * check for variable existence Former-commit-id: 25a00ebffec9ba8c820be29c9adfd0a4c0f9cb29
13 lines
444 B
Bash
Executable File
13 lines
444 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd $WORKSPACE
|
|
|
|
/bin/echo "Creating manifest"
|
|
/usr/bin/find ./eagle0WIN/ -type f -exec /usr/bin/sha256sum {} \; > ./eagle0WIN_manifest.txt
|
|
|
|
/bin/echo "Uploading"
|
|
/usr/bin/rsync -rtlDv -e "/usr/bin/ssh -i ${SSH_KEY_FILE} -p 9022" ./eagle0WIN/ www@eagle0.net:/www/assets/win/
|
|
/usr/bin/rsync -rtlDv -e "/usr/bin/ssh -i ${SSH_KEY_FILE} -p 9022" ./eagle0WIN_manifest.txt www@eagle0.net:/www/assets/eagle0WIN_manifest.txt
|