Skip to content

Commit

Permalink
Merge pull request #517 from catatsuy/fix-update-compose-yml-context-…
Browse files Browse the repository at this point in the history
…changes

fix(ci): update placeholders from '@build' to '@context' in ci.yml
  • Loading branch information
catatsuy authored Aug 11, 2024
2 parents c788ab1 + cc7c597 commit 5b544bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
- name: Update compose.yml if changes are detected
if: steps.check-changes.outputs.go_changes_detected == 'true'
run: |
purl -overwrite -replace '@build: ruby/@build: golang/@' ./webapp/docker-compose.yml
purl -overwrite -replace '@context: ruby/@context: golang/@' ./webapp/docker-compose.yml
- name: Update compose.yml if changes are detected
if: steps.check-changes.outputs.php_changes_detected == 'true'
run: |
purl -overwrite -replace '@build: (ruby|golang)/@build: php/@' ./webapp/docker-compose.yml
purl -overwrite -replace '@context: (ruby|golang)/@context: php/@' ./webapp/docker-compose.yml
mv webapp/etc/nginx/conf.d/default.conf webapp/etc/nginx/conf.d/default.conf.org
mv webapp/etc/nginx/conf.d/php.conf.org webapp/etc/nginx/conf.d/php.conf
Expand Down

0 comments on commit 5b544bc

Please sign in to comment.