Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!18Develop,!17feat: use rules instead of only in gitlab-ci script
Pipeline #21692 passed
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment