From f981b138ed9713a4d926ca8870fafd960b3416e5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 10 Sep 2022 18:04:40 -0400 Subject: [PATCH] fix: use a dokku.net subdomain to avoid hsts issues --- bin/ci-pre-deploy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ci-pre-deploy b/bin/ci-pre-deploy index afb955b..fbd89b2 100644 --- a/bin/ci-pre-deploy +++ b/bin/ci-pre-deploy @@ -3,6 +3,9 @@ if [ "$IS_REVIEW_APP" = "true" ]; then echo "-----> Purging repo cache" ssh "$SSH_REMOTE" -- repo:purge-cache "$APP_NAME" + echo "-----> Setting the test domain name" + ssh "$SSH_REMOTE" -- repo:purge-cache "$APP_NAME" "$APP_NAME.dokku.net" + echo "-----> Setting the buildpack to the current commit" echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks git add .buildpacks