Skip to content

Commit

Permalink
Fix #78
Browse files Browse the repository at this point in the history
  • Loading branch information
KaruroChori committed Jan 3, 2025
1 parent 1b1ca4a commit 771f772
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Deploy Docs

on:
workflow_call:
push:
branches:
- master

inputs:
subdir:
type: string
required: false
default: "next"
jobs:
build-deploy:
permissions:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Docs `next`

on:
push:
branches:
- master
jobs:
docs:
uses: ./.github/workflows/docs.yml
permissions:
contents: write
pages: write
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,19 @@ jobs:
with:
files: |
./build/meson-dist/**/*
docs:
uses: ./.github/workflows/docs.yml
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
with:
subdir: ${{github.ref_name}}
permissions:
contents: write
pages: write
docs-latest:
uses: ./.github/workflows/docs.yml
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
with:
subdir: latest
permissions:
contents: write
pages: write

0 comments on commit 771f772

Please sign in to comment.