Runs tests on push (#317)

* Runs tests on push

* Move out config
This commit is contained in:
Hendrik Kleinwaechter
2023-12-19 13:08:50 +01:00
committed by GitHub
parent 0fecb8e252
commit d0f71d9b0e
3 changed files with 39 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
name: Test building book and website with custom image
on:
pull_request:
jobs:
build-and-push-image:
uses: ./.github/workflows/docker-build-push.yml
test-building-book-website:
needs: build-and-push-image
uses: ./.github/workflows/test-book-website.yml
with:
docker-image: ghcr.io/${{ github.repository }}:${{ github.event.pull_request.head.ref }}