Skip to content
Snippets Groups Projects
Commit 163f9b52 authored by Pieter van Staden's avatar Pieter van Staden
Browse files

INFRASTRUCTURE :: Resolve the issue causing the pipeline to trigger twice on a...

INFRASTRUCTURE :: Resolve the issue causing the pipeline to trigger twice on a single push to the dev branch.
parent 857582b0
Branches
Tags
1 merge request!24Dev -> Prod
Pipeline #75138 failed
......@@ -10,8 +10,6 @@ stages:
deploy:
stage: deploy
only:
- dev
before_script:
- AWS_ACCESS_KEY_ID_KEY=$(echo "$CI_COMMIT_BRANCH"_"AWS_ACCESS_KEY_ID")
- AWS_ACCESS_KEY_ID=$(eval echo -e "\$$AWS_ACCESS_KEY_ID_KEY")
......@@ -22,6 +20,9 @@ deploy:
script:
- ./make-zip.sh
- aws s3 cp bobgo-magento-plugin.zip s3://bobgo-s3-magento-plugin-dev/ --region=af-south-1
rules:
- if: '$CI_COMMIT_BRANCH == "dev" && $CI_COMMIT_TAG == null'
when: always
tag_deploy:
stage: tag_deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment