Skip to content
Snippets Groups Projects
Commit c174cf86 authored by slobinger's avatar slobinger
Browse files

Update .gitlab-ci.yml deployment on master is now staging enviroment - so that...

Update .gitlab-ci.yml deployment on master is now staging enviroment - so that prebuilds acan be seperated from production builds.
parent 75dd6460
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -25,6 +25,7 @@ build-master: ...@@ -25,6 +25,7 @@ build-master:
stage: build stage: build
after_script: after_script:
- mkdir build - mkdir build
- ls ../
- mv ../${PKGNAME}_${VERSION}_${ARCH}.deb build/ - mv ../${PKGNAME}_${VERSION}_${ARCH}.deb build/
artifacts: artifacts:
paths: paths:
...@@ -41,9 +42,10 @@ test-and-deploy-master: ...@@ -41,9 +42,10 @@ test-and-deploy-master:
script: script:
- gdebi --non-interactive build/${PKGNAME}_${VERSION}_${ARCH}.deb - gdebi --non-interactive build/${PKGNAME}_${VERSION}_${ARCH}.deb
environment: environment:
name: production name: staging
only: only:
- tags - tags
- master
artifacts: artifacts:
paths: paths:
- build/* - build/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment