Skip to content

Commit

Permalink
Allow manual triggering of deployment
Browse files Browse the repository at this point in the history
Also fixed the 404.html symlink creation so it doesn't break the gh-pages deployment.
  • Loading branch information
specious committed Aug 3, 2022
1 parent fa195fc commit ac34561
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ac34561

Please sign in to comment.