Skip to content

Commit

Permalink
refactor: revert previous solution (#3357)
Browse files Browse the repository at this point in the history
* Revert "refactor: embed our page into an iframe instead of doing a redirect (#3291)"

This reverts commit 9d3c4ec.

* Revert "refactor: embed our page into an iframe instead of doing a redirect (#3291)"

This reverts commit 9d3c4ec.
  • Loading branch information
mfranzke authored Oct 23, 2024
1 parent ab89f80 commit 82f33d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/build-gh-page.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tar -zxf gh-pages -C public --strip-components 1

if [[ $RELEASE == "true" ]]; then
echo "🔃 Change redirect"
echo "<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>DB UX Design System Core – latest version</title></head><body style=\"margin: 0;\"><iframe src=\"https://"$OWNER_NAME".github.io/"$REPO_NAME"/version/"$NAME"\" style=\"border: 0;width: 100vw;height: 100vh;\"></iframe></body></html>" > public/index.html
echo "<meta http-equiv=\"refresh\" content=\"0; URL=https://"$OWNER_NAME".github.io/"$REPO_NAME"/version/"$NAME"\" />" > public/index.html
fi

echo "👣 Move out dir"
Expand Down

0 comments on commit 82f33d9

Please sign in to comment.