Skip to content

Commit ac34561

Browse files
committed
Allow manual triggering of deployment
Also fixed the 404.html symlink creation so it doesn't break the gh-pages deployment.
1 parent fa195fc commit ac34561

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
branches:
55
- main
6+
workflow_dispatch: # Makes it also possible to manually trigger deployment
7+
68
jobs:
79
build-and-deploy:
810
runs-on: ubuntu-latest
@@ -21,7 +23,7 @@ jobs:
2123
2224
- name: Create 404.html alias for index.html
2325
run: |
24-
ln -s public/index.html public/404.html
26+
ln -sr public/index.html public/404.html
2527
2628
- name: Deploy
2729
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)