Commit fc25a0b0 authored by Andres Maldonado's avatar Andres Maldonado
Browse files

[.gitlab-ci.yml] Créer des pipelines seulement sur la branche par défaut (master)

parent 591e64b7
Pipeline #71229 waiting for manual action with stage
......@@ -4,18 +4,24 @@ variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8
# Créer des pipelines seulement sur la branche par défaut (master)
workflow:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
- bundle exec jekyll build -d public
artifacts:
paths:
- public
- public
rules:
- changes:
- "_posts/**"
- "assets/**"
when: always
- when: manual
- changes:
- "_posts/**"
- "assets/**"
when: always
- when: manual
tags:
- docker
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment