From 6c0d20881ae1cfba4507845639468a7cf9011e9d Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Wed, 10 Jan 2024 02:10:43 -0700 Subject: [PATCH] Use meta refresh to redirect QRA-EQR to DFID-BDICD on GitHub Pages --- .github/workflows/deploy-preview-site.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/deploy-preview-site.yml b/.github/workflows/deploy-preview-site.yml index f1492a0..4f70118 100644 --- a/.github/workflows/deploy-preview-site.yml +++ b/.github/workflows/deploy-preview-site.yml @@ -61,6 +61,24 @@ jobs: sed -i 's#"/\([^"]\+\)\.php#"\1.html#g' *.html sed -i 's#"/\([^"]\+\)\.php#"../\1.html#g' */*.html + - name: Set up redirects for QRA-EQR to DFID-BDICD + run: | + mkdir -p public/QRA-EQR + for lang in en eng fr; do cat < public/QRA-EQR/index-${lang}.html + + + + Redirecting... + + + + +

Redirecting...

+ + + EOF + done + - name: Setup Pages id: pages uses: actions/configure-pages@v3