Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
Merge branch 'refactor_ci' into 'test'
Browse files Browse the repository at this point in the history
CSCFAIRADM-1271: Fix deployment step

See merge request fairdata/fairdata-metax!173
  • Loading branch information
Toni Nurmi committed Mar 30, 2022
2 parents b5418b8 + b9232dd commit 8ab0cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ workflow:

stages:
- clean_build
- test
- deploy
- test
- update
- clean_env

Expand Down Expand Up @@ -74,7 +74,7 @@ deploy:
script:
- ansible-playbook -i $ANSIBLE_INVENTORY $DEPLOY_PLAYBOOK --vault-id $ANSIBLE_VAULT_FILE -e "build_id=$CI_COMMIT_REF_SLUG repo_version=$CI_COMMIT_REF_NAME"
rules:
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^(demo|master|stable|staging|test)$/
- if: $CI_COMMIT_BRANCH =~ /^(demo|master|stable|staging|test)$/
when: always

update_metax:
Expand Down

0 comments on commit 8ab0cc4

Please sign in to comment.