Use reusable workflow

This commit is contained in:
Severin 2024-04-14 20:26:26 +02:00
parent 53b8d48bd3
commit b46a30b33a
2 changed files with 29 additions and 11 deletions

23
.github/workflows/call-deploy-book.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: call-deploy-book
on:
push:
branches:
- '**'
# If your git repository has the Jupyter Book within some-subfolder next to
# unrelated files, you can make this run only if a file within that specific
# folder has been modified.
#
# paths:
# - some-subfolder/**
workflow_dispatch:
jobs:
call-workflow:
uses: TeachBooks/template/.github/workflows/deploy-book-ghpages.yml@main
secrets: inherit
permissions:
contents: read
pages: write
id-token: write