Skip to content
Snippets Groups Projects
Commit 387b8184 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Deploy: save variables in deploy.env

parent 902c9276
No related branches found
No related tags found
1 merge request!227CI-test: new deploy pipeline
...@@ -187,8 +187,14 @@ workflow: ...@@ -187,8 +187,14 @@ workflow:
- rsync -rh --out-format="%n" --mkpath ${DEPLOY_SOURCE}/ ${DEPLOY_TARGET} | - rsync -rh --out-format="%n" --mkpath ${DEPLOY_SOURCE}/ ${DEPLOY_TARGET} |
sed -e "s#^#${DEPLOY_TARGET_LINK}/#" | tee files.txt sed -e "s#^#${DEPLOY_TARGET_LINK}/#" | tee files.txt
- printf "Successfully deployed to:\n%s" "${DEPLOY_TARGET_LINK}" - printf "Successfully deployed to:\n%s" "${DEPLOY_TARGET_LINK}"
after_script:
- echo "RELEASE_NAME=${RELEASE_NAME}" > deploy.env
- echo "VERSION=${VERSION}" >> deploy.env
- echo "MACHINE=${MACHINE}" >> deploy.env
timeout: 60m timeout: 60m
artifacts: artifacts:
paths: paths:
- files.txt - files.txt
- "**/md5sums.txt" - "**/md5sums.txt"
reports:
dotenv: deploy.env
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment