Skip to content
Snippets Groups Projects
Commit fe427d4a authored by Paul van Genuchten's avatar Paul van Genuchten
Browse files

not clear why not deploying to prod

parent 8bcf73b2
Branches
Tags
No related merge requests found
Pipeline #76418 passed
......@@ -51,24 +51,25 @@ deploy-dev:
before_script:
- apk add curl
script:
- echo "deploy-dev; $CI_COMMIT_SHORT_SHA"
- echo "deploy-dev; $CI_COMMIT_SHORT_SHA - $CI_COMMIT_MESSAGE - $CI_COMMIT_REF_NAME"
- curl -X POST -F token=${DEPLOY_TOKEN} -F "ref=master" -F "variables[VERSION_TAG]=$CI_COMMIT_SHORT_SHA" -F "variables[ENVIRONMENT]=dev" -F "variables[PROJECT]=landpks-portal" https://git.wur.nl/api/v4/projects/7515/trigger/pipeline
only:
- develop
environment:
name: dev
name: Dev
url: https://dev.landpks-portal.containers.wurnet.nl
deploy:
deploy-prod:
stage: deploy
image: harbor.containers.wurnet.nl/proxy-cache/library/alpine:3
before_script:
- apk add curl
script:
- echo "deploy-dev; $CI_COMMIT_SHORT_SHA"
- echo "deploy-prod; $CI_COMMIT_TAG/$CI_COMMIT_REF_NAME"
- curl -X POST -F token=${DEPLOY_TOKEN} -F "ref=master" -F "variables[VERSION_TAG]=${CI_COMMIT_TAG}" -F "variables[ENVIRONMENT]=prod" -F "variables[PROJECT]=landpks-portal" https://git.wur.nl/api/v4/projects/7515/trigger/pipeline
only:
- tags
environment:
name: Production
url: https://space2place.isric.org
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment