From 83cf803d0b0efb05d139783fab3a55ecdb73cb28 Mon Sep 17 00:00:00 2001 From: Dawid Masiukiewicz Date: Tue, 2 Mar 2021 20:52:10 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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