Skip to content
Snippets Groups Projects
Commit b003f3bf authored by Erick Hitter's avatar Erick Hitter
Browse files

Only save artifacts on merge to master

parent 3069a06a
No related branches found
No related tags found
1 merge request!1MVP build process
...@@ -12,6 +12,14 @@ test_build_script: ...@@ -12,6 +12,14 @@ test_build_script:
script: script:
- shellcheck ./scripts/build.sh - shellcheck ./scripts/build.sh
test_build_nginx:
stage: build
script:
- chmod +x ./scripts/build.sh
- ./scripts/build.sh
except:
- master
build_nginx: build_nginx:
stage: build stage: build
script: script:
...@@ -20,3 +28,5 @@ build_nginx: ...@@ -20,3 +28,5 @@ build_nginx:
artifacts: artifacts:
paths: paths:
- src/nginx/objs/nginx - src/nginx/objs/nginx
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment