This commit is contained in:
2024-05-09 19:04:03 -05:00
parent 4b76641b2b
commit 8e67ec8341
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
#%%MULTILINE_YAML_START
#test deployment
echo "
deploy_$VERSION:
stage: deploy
needs:
- job: build
optional: true
script:
- echo "Deploy to staging server"
environment:
name: staging
" > generated-config.yml

View File

@@ -21,3 +21,10 @@
needs:
- job: version
artifacts: true
generate-config:
stage: build
- ./scripts/gitlab/create-environment.sh
artifacts:
paths:
- generated-config.yml