Skip to content

Commit

Permalink
CI: fix .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Nov 27, 2023
1 parent f090565 commit b214e9f
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ test_tvm:
- docker
interruptible: true
allow_failure: false
only:
- main
rules:
- if: $CI_PIPELINE_SOURCE == "push"
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF == "main"
cache:
paths:
- .cache/
Expand Down Expand Up @@ -132,10 +130,8 @@ test_python_310:
cache:
paths:
- .cache/
only:
- main
rules:
- if: $CI_PIPELINE_SOURCE == "push"
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF == "main"


build_docs:
Expand All @@ -157,10 +153,9 @@ build_docs:
- pydoc-markdown --build --site-dir public_html/
tags:
- docker
only:
- main

rules:
- if: $CI_PIPELINE_SOURCE == "push"
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF == "main"

# Empty dependencies to disable artifacts passing
dependencies: []
Expand Down Expand Up @@ -221,8 +216,6 @@ deploy to github:
only:
- main
- pub/.*
rules:
- if: $CI_PIPELINE_SOURCE == "push"
script: ./scripts/git-push [email protected]:ekut-es/hannah.git $CI_COMMIT_REF_NAME
tags:
- docker

0 comments on commit b214e9f

Please sign in to comment.