mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 07:33:52 +02:00
Update pre-deploy.sh
This commit is contained in:
parent
98f43c5cbd
commit
d8c48ec505
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ cp -f tests/lxd-bridge /etc/default/lxd-bridge
|
|||
cp -f tests/algo.conf /etc/default/algo.conf
|
||||
|
||||
export REPOSITORY=${REPOSITORY:-${GITHUB_REPOSITORY}}
|
||||
export BRANCH=${BRANCH:-${GITHUB_REF#refs/heads/}}
|
||||
export _BRANCH=${BRANCH#refs/heads/}
|
||||
export BRANCH=${_BRANCH:-${GITHUB_REF#refs/heads/}}
|
||||
|
||||
if [[ "$DEPLOY" == "cloud-init" ]]; then
|
||||
bash tests/cloud-init.sh | lxc profile set default user.user-data -
|
||||
|
|
Loading…
Add table
Reference in a new issue