Skip to content

Commit 00ce219

Browse files
committed
Fix deploy
1 parent 4a5c502 commit 00ce219

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: ci-push
2-
on: [push]
2+
on:
3+
push:
4+
branches-ignore:
5+
- staging
36
jobs:
47
format-check:
58
runs-on: ubuntu-latest

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- main
6+
- staging
67
jobs:
78
deploy:
89
runs-on: ubuntu-latest
@@ -24,12 +25,13 @@ jobs:
2425
run: |
2526
cd guide
2627
mdbook build
28+
ls book
2729
- name: setup pages
2830
uses: actions/configure-pages@v4
2931
- name: upload artifact
3032
uses: actions/upload-pages-artifact@v3
3133
with:
32-
path: 'book'
34+
path: 'guide/book'
3335
- name: Deploy to GitHub Pages
3436
id: deployment
3537
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)