From d45892be7fef7f76eebac4cb5f495dd157a109ef Mon Sep 17 00:00:00 2001 From: catatsuy Date: Mon, 12 Aug 2024 10:00:34 +0900 Subject: [PATCH] Update purl command to include -fail option in CI workflow steps --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b0646ce8..93dacd65d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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