Updated CI pipeline config to only deploy to staging on the branch "staging".
This commit is contained in:
parent
3bca08e7ff
commit
1dd1640cbe
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ build:
|
||||||
- docker push "registry.gitlab.com/s3lph/matemat:$(git rev-parse HEAD)"
|
- docker push "registry.gitlab.com/s3lph/matemat:$(git rev-parse HEAD)"
|
||||||
- docker push registry.gitlab.com/s3lph/matemat:latest-staging
|
- docker push registry.gitlab.com/s3lph/matemat:latest-staging
|
||||||
only:
|
only:
|
||||||
- /^staging-.*$/
|
- staging
|
||||||
|
|
||||||
staging:
|
staging:
|
||||||
stage: staging
|
stage: staging
|
||||||
|
@ -41,4 +41,4 @@ staging:
|
||||||
name: staging
|
name: staging
|
||||||
url: https://matemat.kernelpanic.lol/
|
url: https://matemat.kernelpanic.lol/
|
||||||
only:
|
only:
|
||||||
- /^staging-.*$/
|
- staging
|
||||||
|
|
Loading…
Reference in a new issue