mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Use reusable workflow
This commit is contained in:
parent
53b8d48bd3
commit
b46a30b33a
2 changed files with 29 additions and 11 deletions
23
.github/workflows/call-deploy-book.yml
vendored
Normal file
23
.github/workflows/call-deploy-book.yml
vendored
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue