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

Update .gitlab-ci.yml specified stating and production enviroenment

parent cb63bfae
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -34,6 +34,8 @@ build-master: ...@@ -34,6 +34,8 @@ build-master:
expire_in: 1 hrs expire_in: 1 hrs
only: only:
- master - master
environment:
name: staging
test-and-deploy-master: test-and-deploy-master:
stage: deploy stage: deploy
...@@ -44,7 +46,7 @@ test-and-deploy-master: ...@@ -44,7 +46,7 @@ test-and-deploy-master:
- eval $(cat ENVIRONMENTS) - eval $(cat ENVIRONMENTS)
- gdebi --non-interactive build/${PKGNAME}_${VERSION}_${ARCH}.deb - gdebi --non-interactive build/${PKGNAME}_${VERSION}_${ARCH}.deb
environment: environment:
name: staging name: production
only: only:
- tags - tags
- master - master
...@@ -52,5 +54,3 @@ test-and-deploy-master: ...@@ -52,5 +54,3 @@ test-and-deploy-master:
paths: paths:
- build/* - build/*
expire_in: 1 mos expire_in: 1 mos
\ No newline at end of file
only:
- tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment