#!/bin/sh

git clone --depth 1 --single-branch --branch master https://github.com/nhsuk/ci-deployment.git scripts/ci-deployment

bash scripts/ci-deployment/deploy.sh

#!/bin/sh

git clone https://github.com/nhsuk/ci-deployment.git scripts/ci-deployment

if [ -n "${CI_SCRIPT_BRANCH}" ]; then
  (
    cd scripts/ci-deployment &&
    git checkout "${CI_SCRIPT_BRANCH}"
  )
fi

bash scripts/ci-deployment/deploy.sh

Allow a specific branch/tag/commit of the CI scripts to be used
:pushpin: Allow a specific branch/tag/commit of the CI scripts to be used
