Skip to content

Commit

Permalink
fix: copy index and refer to child path
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jan 4, 2025
1 parent 553cecd commit 6b0cc01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5

- name: Copy index.html to root
run: cp ./target/aarch64-unknown-none-softfloat/doc/kernel/index.html ./target/aarch64-unknown-none-softfloat/doc/index.html

- name: Add redirect (change later to /index.html when we move to subdomain)
run: echo '<meta http-equiv="refresh" content="0;url=/sark/kernel/index.html">' > target/aarch6 4-unknown-none-softfloat/doc/index.html
run: echo '<meta http-equiv="refresh" content="0;url=/sark/kernel/">' > target/aarch6 4-unknown-none-softfloat/doc/index.html

- name: Remove lock file
run: rm target/aarch64-unknown-none-softfloat/doc/.lock
Expand Down

0 comments on commit 6b0cc01

Please sign in to comment.