Skip to content

Commit 894c31d

Browse files
committed
chore: Update GitHub Pages workflow to copy the entire dist directory and add a root index.html redirect to dist/index.html.
1 parent 495ac7e commit 894c31d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/demo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
- name: Prepare pages artifact
3838
run: |
3939
mkdir -p _site
40-
cp dist/index.html dist/globals.css dist/browser-imports.js _site/
41-
cp -r app components sections _site/
40+
cp -r dist app components sections _site/
41+
echo '<meta http-equiv="refresh" content="0;url=dist/index.html">' > _site/index.html
4242
4343
- uses: actions/upload-pages-artifact@v3
4444

0 commit comments

Comments
 (0)