Loading .gitlab-ci.yml +7 −4 Changes for .gitlab-ci.yml: 7 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -51,8 +51,7 @@ Build: lint: extends: .nodejs rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "schedule"' - when: never script: - pnpm run lint allow_failure: true Loading @@ -72,6 +71,8 @@ lint: link-check-local: extends: .lychee rules: - when: never script: - | if grep -rnE 'https?://(www\.)?hsbxl\.be' content/; then Loading @@ -87,6 +88,8 @@ link-check-local: link-check-remote: extends: .lychee rules: - when: never resource_group: web-scanning cache: key: lychee Loading @@ -106,7 +109,7 @@ link-check-remote: pages: stage: Deploy image: debian:trixie needs: ["Build", "link-check-local"] needs: ["Build"] environment: name: Production url: https://hsbxl.be Loading @@ -127,7 +130,7 @@ Deploy Staging: name: Staging url: https://staging.hsbxl.be rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $PRIVKEY' - when: never resource_group: ssh script: - apt-get update Loading Loading
.gitlab-ci.yml +7 −4 Changes for .gitlab-ci.yml: 7 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -51,8 +51,7 @@ Build: lint: extends: .nodejs rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != "schedule"' - when: never script: - pnpm run lint allow_failure: true Loading @@ -72,6 +71,8 @@ lint: link-check-local: extends: .lychee rules: - when: never script: - | if grep -rnE 'https?://(www\.)?hsbxl\.be' content/; then Loading @@ -87,6 +88,8 @@ link-check-local: link-check-remote: extends: .lychee rules: - when: never resource_group: web-scanning cache: key: lychee Loading @@ -106,7 +109,7 @@ link-check-remote: pages: stage: Deploy image: debian:trixie needs: ["Build", "link-check-local"] needs: ["Build"] environment: name: Production url: https://hsbxl.be Loading @@ -127,7 +130,7 @@ Deploy Staging: name: Staging url: https://staging.hsbxl.be rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $PRIVKEY' - when: never resource_group: ssh script: - apt-get update Loading