Skip to content

Commit

Permalink
Add CD for dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed Oct 17, 2023
1 parent 74f9196 commit bc71712
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Develop environment CI / CD
on:
push:
branches:
- 'develop'
- 'add-cd-for-dev-env'

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Infra Version
run: |
yq -i '.backend.image.tag = "${{ github.sha }}"' ./infra/kube/helm/values-dso.yaml
yq -i '.frontend.image.tag = "${{ github.sha }}"' ./infra/kube/helm/values-dso.yaml
- name: Commit and push changes
uses: devops-infra/[email protected]
with:
github_token: ${{ secrets.JOB_GITHUB_TOKEN }}
commit_prefix: "[skip ci]"
commit_message: "Version updated"

0 comments on commit bc71712

Please sign in to comment.