Skip to content

Commit

Permalink
Remove Jekyll and add 404 fallback in workflow (#2)
Browse files Browse the repository at this point in the history
* Remove Jekyll and add 404 fallback in workflow

* Fix .nojekyll path
  • Loading branch information
Leonard authored Oct 12, 2023
1 parent 5fed6f5 commit 0d9d874
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@ jobs:
target: wasm32-unknown-unknown
- uses: cargo-bins/cargo-binstall@main
- uses: Swatinem/rust-cache@v1

- name: Install CLI
run: cargo binstall --no-confirm dioxus-cli --locked --force

- name: Build
run: dx build --release

- name: Add .nojekyll and fallback 404
run: |
touch dist/.nojekyll
cp dist/index.html dist/404.html
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

0 comments on commit 0d9d874

Please sign in to comment.