diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3fea314..bd60ef1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,7 +68,7 @@ build_wasm: paths: - build rules: - - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' + - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" || $CI_COMMIT_BRANCH == "master"' when: always allow_failure: true @@ -80,7 +80,7 @@ emscripten: script: - /bin/bash /build.sh rules: - - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' + - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" || $CI_COMMIT_BRANCH == "master"' when: always artifacts: expire_in: 1h @@ -102,4 +102,4 @@ pages: artifacts: expire_in: 1h paths: - - public \ No newline at end of file + - public