Skip to content

Commit b55675e

Browse files
authored
Merge pull request #308 from APIParkLab/feature/liujian-1.8
Feature/liujian 1.8
2 parents c36726f + 9a33992 commit b55675e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ stages:
3333
builder:
3434
stage: build
3535
rules:
36-
- if: $CI_COMMIT_BRANCH == "main-github-pro"
36+
- if: $CI_COMMIT_BRANCH == "main-github-pro" || $CI_COMMIT_BRANCH == "main"
3737
script:
3838
- set -e
3939
- |
@@ -59,7 +59,7 @@ builder:
5959
deployer:
6060
stage: deploy
6161
rules:
62-
- if: $CI_COMMIT_BRANCH == "main-github-pro"
62+
- if: $CI_COMMIT_BRANCH == "main-github-pro" || $CI_COMMIT_BRANCH == "main"
6363
variables:
6464
APIPARK_GUEST_MODE: allow
6565
APIPARK_GUEST_ID: dklejrfbhjqwdh
@@ -69,7 +69,7 @@ deployer:
6969
success:
7070
stage: webhook
7171
rules:
72-
- if: $CI_COMMIT_BRANCH == "main-github-pro"
72+
- if: $CI_COMMIT_BRANCH == "main-github-pro" || $CI_COMMIT_BRANCH == "main"
7373
script:
7474
- |
7575
curl -X POST -H "Content-Type: application/json" \
@@ -79,7 +79,7 @@ success:
7979
failure:
8080
stage: webhook
8181
rules:
82-
- if: $CI_COMMIT_BRANCH == "main-github-pro"
82+
- if: $CI_COMMIT_BRANCH == "main-github-pro" || $CI_COMMIT_BRANCH == "main"
8383
script:
8484
- |
8585
curl -X POST -H "Content-Type: application/json" \

0 commit comments

Comments
 (0)