diff --git a/.github/workflows/trigger_github_pages_redirect.yml b/.github/workflows/trigger_github_pages_redirect.yml new file mode 100644 index 000000000..41a8c38a8 --- /dev/null +++ b/.github/workflows/trigger_github_pages_redirect.yml @@ -0,0 +1,41 @@ +name: Pages Redirect + +on: + workflow_dispatch: + +permissions: + pages: write + id-token: write + contents: read + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Create redirect page + run: | + mkdir site + cat < site/index.html + + + + + + + Redirecting... + + + Redirecting... + + + EOF + + - uses: actions/upload-pages-artifact@v3 + with: + path: site + + - name: Deploy + uses: actions/deploy-pages@v4