Skip to content

Commit

Permalink
Merge pull request #519 from catatsuy/feature-update-ci-workflow-purl…
Browse files Browse the repository at this point in the history
…-fail-option

Update purl command to include -fail option in CI workflow steps
  • Loading branch information
catatsuy committed Aug 12, 2024
2 parents 682a60f + d45892b commit 5c8330e
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 '@context: ruby/@context: golang/@' ./webapp/docker-compose.yml
purl -fail -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 '@context: (ruby|golang)/@context: php/@' ./webapp/docker-compose.yml
purl -fail -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 5c8330e

Please sign in to comment.