Skip to content

Commit

Permalink
ci(gitlab-ci): 启用调试规则
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjj27 committed May 21, 2024
1 parent c235fea commit a1e69aa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .gitlab/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ stages:
check-typst-compile:
stage: check
rules:
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG =~ /v[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*/
# - if: $CI_COMMIT_TAG # trigger rule for debugging
# - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
# - if: $CI_COMMIT_TAG =~ /v[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*/
- if: $CI_COMMIT_TAG # trigger rule for debugging
before_script:
- export PATH="$PATH:$CARGO_HOME/bin"
- cargo install typst-cli
Expand All @@ -35,8 +35,8 @@ check-typst-compile:
release-commit:
stage: release
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE = "web"
# - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH # trigger rules for debugging
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "web"
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH # trigger rules for debugging
before_script:
- export PATH="$PATH:$CARGO_HOME/bin"
- cargo install git-cliff sd
Expand Down Expand Up @@ -81,8 +81,8 @@ gitlab-release:
typst.universe-release:
stage: release
rules:
- if: $CI_COMMIT_TAG =~ /v[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*/
# - if: $CI_COMMIT_TAG # trigger rule for debugging
# - if: $CI_COMMIT_TAG =~ /v[1-9][0-9]*\.[1-9][0-9]*\.[1-9][0-9]*/
- if: $CI_COMMIT_TAG # trigger rule for debugging
before_script:
- export PATH="$PATH:$CARGO_HOME/bin"
- cargo install sd
Expand Down

0 comments on commit a1e69aa

Please sign in to comment.