Skip to content

Commit

Permalink
docs when?
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Nov 9, 2024
1 parent a590b39 commit 0a1240c
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ concurrency:
cancel-in-progress: false

jobs:
build:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

Expand All @@ -24,17 +26,6 @@ jobs:

- run: mdbook build book

deploy:
environment:
name: gh-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
steps:
- uses: actions/checkout@v4

- name: Set output directory
run: |
OUTDIR=$(basename ${{ github.ref }})
Expand Down

0 comments on commit 0a1240c

Please sign in to comment.