From ac345610066f7c6502b59cfd0e41c95e3491c016 Mon Sep 17 00:00:00 2001 From: Ildar Sagdejev Date: Wed, 3 Aug 2022 07:47:55 -0400 Subject: [PATCH] Allow manual triggering of deployment Also fixed the 404.html symlink creation so it doesn't break the gh-pages deployment. --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 97d4206..e2eb297 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,8 @@ on: push: branches: - main + workflow_dispatch: # Makes it also possible to manually trigger deployment + jobs: build-and-deploy: runs-on: ubuntu-latest @@ -21,7 +23,7 @@ jobs: - name: Create 404.html alias for index.html run: | - ln -s public/index.html public/404.html + ln -sr public/index.html public/404.html - name: Deploy uses: JamesIves/github-pages-deploy-action@v4