Skip to content

Commit

Permalink
properly set the source environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jul 24, 2023
1 parent 09b6e2b commit ad77d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .bin/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set +ex
$SITE_ENV = "${TERMINUS_SITE}.ci-${BUILD_NUM}"
# TODO: Remove the plugin after it is installed via the workflow.
terminus multidev:delete --delete-branch $SITE_ENV
terminus multidev:delete --delete-branch --yes $SITE_ENV
3 changes: 1 addition & 2 deletions .bin/set-up-globals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
set -ex

TERMINUS_PLUGINS_DIR=.. terminus list -n remote
SITE_ENV="${TERMINUS_SITE}.ci-${BUILD_NUM}"

set +ex
echo "Logging in with a machine token:"
terminus auth:login -n --machine-token="$TERMINUS_TOKEN"
terminus whoami
terminus multidev:create --no-db --no-files $SITE_ENV
terminus multidev:create --no-db --no-files $TERMINUS_SITE.dev ci-$BUILD_NUM

0 comments on commit ad77d5a

Please sign in to comment.