Commit 36d206f7 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Merge branch '10-use-rules-instead-of-only-in-gitlab-ci' into 'develop'

feat: use rules instead of only in gitlab-ci script

See merge request core-services/pages-jekyll-lcsb-template!17
parents 32b804b0 3cec49b1
Pipeline #21692 passed with stage
in 48 seconds
......@@ -20,8 +20,8 @@ build the website:
pages:
stage: deploy
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == "master"
script:
- mv test public
- echo "Your website is available at $CI_PAGES_URL"
......
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