To facilitate deployment among other machines and upload from there directly
This commit is contained in:
parent
db57359abd
commit
237ccf5103
1 changed files with 18 additions and 0 deletions
18
exercises/204_established_identities/scripts/pull_only_from_ryzdesk.sh
Executable file
18
exercises/204_established_identities/scripts/pull_only_from_ryzdesk.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
# $Header$
|
||||
# $HeadURL$
|
||||
|
||||
set -e
|
||||
|
||||
EXERCISE="/usr/local/src/microreticulum/microReticulumTbeam/exercises/204_established_identities"
|
||||
|
||||
for env in amy bob cy dan ed flo guy
|
||||
do
|
||||
ENV="$(echo "$env" | tr '[:lower:]' '[:upper:]')"
|
||||
|
||||
echo "===== copy artifact $env from ryzdesk ====="
|
||||
rsync -a \
|
||||
"ryzdesk:${EXERCISE}/.pio/build/${env}/" \
|
||||
"${EXERCISE}/.pio/build/${env}/"
|
||||
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue