diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae66714013e215f9f4c4ca6022e33528449bd848..48e6df1ca8c575f15778e0daa479df9c24ba6066 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,6 +77,11 @@ deploy-to-staging: name: "staging" url: "https://privatestorage-staging.com/" script: + # Announce our intentions. + - | + echo "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE" + echo "and I am deploying the $CI_COMMIT_BRANCH branch to the $CI_ENVIRONMENT_NAME environment." + # Copy the deploy key from the environment to a file so we can actually # tell ssh to use it. - | @@ -88,7 +93,7 @@ deploy-to-staging: - | ./ci-tools/deploy-to-staging "${PWD}"/deploy_key ${name} - # Remove the key from the filesystem to less the chance of unintentional + # Remove the key from the filesystem to reduce the chance of unintentional # disclosure. Overall our handling of this key is still not *particulary* # safe or secure but that's why the key is only authorized to perform a # single very specific operation.