Skip to content

Commit

Permalink
update the CI test md name, too
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Oct 25, 2023
1 parent 33a2484 commit 97df36e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ set -e
TERMINUS_PLUGINS_DIR=.. terminus list -n remote
PHP_VERSION=$(echo "$PHP_VERSION" | tr -d '.')
FS_TEST="fs-${BUILD_NUM}-${PHP_VERSION}"
CI_TEST="ci-${BUILD_NUM}-${PHP_VERSION}"

# Update Terminus to the latest version.
terminus self:update

echo "Logging in with a machine token:"
terminus auth:login -n --machine-token="$TERMINUS_TOKEN"
terminus whoami
terminus multidev:create "$TERMINUS_SITE".dev ci-"$BUILD_NUM"
terminus connection:set "$TERMINUS_SITE".ci-"$BUILD_NUM" git
terminus multidev:create "$TERMINUS_SITE".dev "$CI_TEST"
terminus connection:set "$TERMINUS_SITE"."$CI_TEST" git
# Set up the environment for filesystem tests.
terminus multidev:create "$TERMINUS_SITE".dev "$FS_TEST"
terminus connection:set "$TERMINUS_SITE"."$FS_TEST" sftp
Expand Down

0 comments on commit 97df36e

Please sign in to comment.