Skip to content

Commit

Permalink
Deploy staging directly after production
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Nov 5, 2024
1 parent 1f2fdce commit 951cfe4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/update-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,23 @@ jobs:
stage: production
target_branch: ${{ inputs.branch }}
secrets: inherit

version:
uses: hitobito/hitobito/.github/workflows/remote-version.yml@master
needs:
- release
with:
repository_url: ${{ github.repository}}
stage: production

deploy-staging:
uses: hitobito/hitobito/.github/workflows/update_image.yml@master
needs:
- version
with:
repository: gitlab.puzzle.ch/pitc_hit/deployments/hitobito.git
file: ./deployments/hit-sww-staging/kustomization.yaml
image_tag: ${{ needs.version.outputs.version }}
image_ref: rails
identifier: hit-sww-staging
secrets: inherit

0 comments on commit 951cfe4

Please sign in to comment.