fix: use a dokku.net subdomain to avoid hsts issues

This commit is contained in:
Jose Diaz-Gonzalez 2022-09-10 18:04:40 -04:00
parent 7794c2c36f
commit f981b138ed
1 changed files with 3 additions and 0 deletions

View File

@ -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