Skip to content

Commit

Permalink
chore(merging): 'ci-refactor-build-flow' into 'main'
Browse files Browse the repository at this point in the history
ci(gitlab-ci): automate everything!

See merge request sysu-gitlab/thesis-template/better-thesis!14
  • Loading branch information
huangjj27 committed May 17, 2024
2 parents 276b3a8 + dd0737a commit 6ea2364
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitlab/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ check-typst-compile:
rules:
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG
when: manual
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
before_script:
- export PATH="$PATH:$CARGO_HOME/bin"
- cargo install typst-cli
Expand All @@ -36,8 +34,6 @@ gitlab-release:
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- echo "releasing $CI_COMMIT_TAG on GitLab!"
release:
Expand Down

0 comments on commit 6ea2364

Please sign in to comment.