Try to fix sed

This commit is contained in:
Fang-Pen Lin
2025-11-12 09:13:02 -08:00
parent 64383f5918
commit 87a6d2cf86
+2 -2
View File
@@ -11,7 +11,7 @@ on:
workflow_call: workflow_call:
jobs: jobs:
check-be-pr: run-backend-bdd-tests:
name: Run BDD tests name: Run BDD tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
@@ -49,7 +49,7 @@ jobs:
run: | run: |
cp .env.example .env cp .env.example .env
NEW_ENCRYPTION_KEY=$(openssl rand -base64 32) NEW_ENCRYPTION_KEY=$(openssl rand -base64 32)
sed -i "s/ENCRYPTION_KEY=.*/ENCRYPTION_KEY=$NEW_ENCRYPTION_KEY/" .env sed -i "s#ENCRYPTION_KEY=.*#ENCRYPTION_KEY=$NEW_ENCRYPTION_KEY#" .env
echo "ACME_DEVELOPMENT_MODE=true" >> .env echo "ACME_DEVELOPMENT_MODE=true" >> .env
echo "ACME_FEATURE_ENABLED=true" >> .env echo "ACME_FEATURE_ENABLED=true" >> .env
echo "ACME_DEVELOPMENT_HTTP01_CHALLENGE_HOST_OVERRIDES={\"localhost\": \"host.docker.internal:8087\"}" >> .env echo "ACME_DEVELOPMENT_HTTP01_CHALLENGE_HOST_OVERRIDES={\"localhost\": \"host.docker.internal:8087\"}" >> .env