ci: Only run deploy on default branch
This commit is contained in:
parent
334e514566
commit
c4cc78c33e
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,8 @@ package:
|
|||
stage: package
|
||||
interruptible: true
|
||||
image: quay.io/sheogorath/build-ah-engine:latest
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
variables:
|
||||
LANG: C.UTF-8
|
||||
tags:
|
||||
|
@ -56,6 +58,8 @@ test:
|
|||
tags:
|
||||
- privileged-ram-4gb
|
||||
image: quay.io/sheogorath/build-ah-engine:latest
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
variables:
|
||||
LANG: C.UTF-8
|
||||
before_script:
|
||||
|
@ -70,6 +74,8 @@ test:
|
|||
|
||||
deploy:
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
variables:
|
||||
PLAYBOOK: static_websites.yml
|
||||
trigger:
|
||||
|
|
Loading…
Add table
Reference in a new issue