fix: write both version files for deployment
TaxBaik CI/CD / build-and-deploy (push) Failing after 3m19s

This commit is contained in:
2026-07-01 13:28:48 +09:00
parent 1f628b49a8
commit 64de7d2304
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -83,6 +83,7 @@ jobs:
BUILD_TIME=$(date -u +'%Y-%m-%d %H:%M:%S UTC')
mkdir -p ./publish/wwwroot
printf '{\n "version": "%s",\n "built": "%s"\n}\n' "$COMMIT_HASH" "$BUILD_TIME" > ./publish/wwwroot/version.json
printf 'Version: %s\nBuilt: %s\n' "$COMMIT_HASH" "$BUILD_TIME" > ./publish/wwwroot/version.txt
echo "✓ Build: $COMMIT_HASH @ $BUILD_TIME"
- name: Setup SSH