Skip to content

Commit

Permalink
Update ds-infrastructure-web on push
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Aug 20, 2024
1 parent 4bbdd82 commit 03a81d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }}

update-proof-of-concept:
update-ds-infrastructure-web:
runs-on: ubuntu-latest
needs:
- build
Expand All @@ -59,7 +59,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: nationalarchives/ds-etna-deployments-proof-of-concept
repository: nationalarchives/ds-infrastructure-web
ref: main
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
- name: Set up git config
Expand All @@ -69,10 +69,10 @@ jobs:
- name: Install jq
run: sudo apt-get install jq
- name: Update config
run: jq --indent 4 '(.services.cms.version|="${{ needs.version.outputs.version }}")' config-aws-develop.json > tmp.$$.json && mv tmp.$$.json config-aws-develop.json
run: jq --indent 4 '(.services.cms.version|="${{ needs.version.outputs.version }}")' config/develop.json > tmp.$$.json && mv tmp.$$.json config/develop.json
- name: Push new version
run: |
git add config-aws-develop.json
git add config/develop.json
git commit -m "Update cms to v${{ needs.version.outputs.version }}"
git push origin main
Expand Down

0 comments on commit 03a81d8

Please sign in to comment.