Commit 3cec49b1 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

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

parent 32b804b0
Pipeline #21691 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