Skip to content

Commit 0a1240c

Browse files
committed
docs when?
1 parent a590b39 commit 0a1240c

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ concurrency:
1212
cancel-in-progress: false
1313

1414
jobs:
15-
build:
15+
deploy:
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
1719
steps:
1820
- uses: actions/checkout@v4
1921

@@ -24,17 +26,6 @@ jobs:
2426

2527
- run: mdbook build book
2628

27-
deploy:
28-
environment:
29-
name: gh-pages
30-
url: ${{ steps.deployment.outputs.page_url }}
31-
runs-on: ubuntu-latest
32-
permissions:
33-
contents: write
34-
needs: build
35-
steps:
36-
- uses: actions/checkout@v4
37-
3829
- name: Set output directory
3930
run: |
4031
OUTDIR=$(basename ${{ github.ref }})

0 commit comments

Comments
 (0)