Skip to content

Commit

Permalink
fix: changed rules for main repo ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Syakyr committed Oct 3, 2024
1 parent 4342019 commit ccf26e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pages:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
needs: []

update:onprem-runai:
Expand All @@ -42,4 +42,6 @@ update:onprem-runai:
- git add .
- git commit -m "$CI_COMMIT_MESSAGE" || echo "Nothing to commit"
- git push origin $CI_COMMIT_BRANCH || echo "Nothing to push"
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
needs: []

0 comments on commit ccf26e8

Please sign in to comment.