From dc109426e5cacc1d7647719a40e0caeed462ecca Mon Sep 17 00:00:00 2001 From: Ginger <75683114+gingershaped@users.noreply.github.com> Date: Wed, 6 Nov 2024 10:40:49 -0500 Subject: [PATCH] Create manual-redeploy.yaml --- .github/workflows/manual-redeploy.yaml | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/manual-redeploy.yaml diff --git a/.github/workflows/manual-redeploy.yaml b/.github/workflows/manual-redeploy.yaml new file mode 100644 index 0000000..9af7430 --- /dev/null +++ b/.github/workflows/manual-redeploy.yaml @@ -0,0 +1,36 @@ +name: Manually redeploy Pages in case of fuckup + +on: + workflow_dispatch: + +permissions: + contents: write + id-token: write + pages: write + +concurrency: + group: "release" + cancel-in-progress: true + +jobs: + # This goes in the website + release: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v2 + + - name: Upload built HTML + uses: actions/upload-pages-artifact@v1 + with: + path: '.' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1