Skip to content

Commit

Permalink
Merge pull request #24 from TeachBooks/feat/17/reusable-workflow
Browse files Browse the repository at this point in the history
Reusable workflow
  • Loading branch information
Tom-van-Woudenberg authored Apr 16, 2024
2 parents 2910c05 + 6a2f75b commit dba9e89
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 167 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/call-deploy-book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 (or the workflow file itself) has been modified.
#
# paths:
# - some-subfolder/**
# - .github/workflows/call-deploy-book.yml
#
workflow_dispatch:

jobs:
call-workflow:
uses: TeachBooks/deploy-book-workflow/.github/workflows/deploy-book.yml@main
secrets: inherit
permissions:
contents: read
pages: write
id-token: write

167 changes: 0 additions & 167 deletions .github/workflows/deploy-book-ghpages.yml

This file was deleted.

0 comments on commit dba9e89

Please sign in to comment.