CI: Run 'test' workflow as part of the 'deploy-branch' workflow

Mimics the behaviour of the 'deploy-release' workflow, even though branch deployment doesn't depend on Pico's tests to succeed. Pull requests still use the 'test' workflow directly.
This commit is contained in:
Daniel Rudolf 2022-02-27 23:00:07 +01:00
parent 9d08d4247a
commit 6f1fc9f8de
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538
2 changed files with 4 additions and 2 deletions

View file

@ -12,6 +12,10 @@ env:
CI_TOOLS_SETUP: https://raw.githubusercontent.com/picocms/ci-tools/master/setup.sh
jobs:
test:
name: Test Pico CMS
uses: ./.github/workflows/test.yml
website:
name: Update website for branch updates

View file

@ -1,8 +1,6 @@
name: Test Pico CMS
on:
push:
branches: [ 'master' ]
pull_request: {}
workflow_call: {}