Skip to content

Commit 0de7b14

Browse files
committed
ci: see if making a public dir fixes things
1 parent f97c4bd commit 0de7b14

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/github-pages.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,21 @@ jobs:
4040
- name: Install RustyPage
4141
run: cargo install --path .
4242

43+
# Make public directory
44+
- name: Make public directory
45+
run: mkdir ./public
46+
4347
# Build static page
4448
- name: Build RustyPage
45-
run: rustypage --config-file ./docs/config/examples/full.toml
49+
run: rustypage --config-file ./docs/config/examples/full.toml ./public/index.html
4650

4751
# Setup Pages
4852
- name: Setup Pages
4953
uses: actions/configure-pages@v5
5054
- name: Upload artifact
5155
uses: actions/upload-pages-artifact@v3
5256
with:
53-
path: './index.html'
57+
path: './public'
5458

5559
# Deploy to GitHubPages
5660
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)