Skip to content

Commit 691879a

Browse files
committed
workflow fix
1 parent 1e164dd commit 691879a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/deploy-site.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Deploy Site
33
on:
44
push:
55
branches: [main]
6-
paths: [site/**]
76
workflow_dispatch:
87

98
permissions:
@@ -20,6 +19,7 @@ jobs:
2019
runs-on: ubuntu-latest
2120
steps:
2221
- uses: actions/checkout@v4
22+
- uses: actions/configure-pages@v5
2323

2424
- uses: actions/setup-node@v4
2525
with:
@@ -33,6 +33,12 @@ jobs:
3333
- run: npm run build
3434
working-directory: site
3535

36+
- name: Verify build artifact looks like site app
37+
run: |
38+
test -f site/dist/index.html
39+
rg 'id="root"' site/dist/index.html
40+
touch site/dist/.nojekyll
41+
3642
- uses: actions/upload-pages-artifact@v3
3743
with:
3844
path: site/dist

0 commit comments

Comments
 (0)