Skip to content

CI

CI #51

Workflow file for this run

name: CI
on:
push:
branches:
- master
- 'stage/**' # branch pattern for general changes
pull_request:
branches:
- master
# Enable running this workflow manually from the Actions tab
workflow_dispatch:
inputs:
reuse-index:
description: 'Use the current state of the reservoir-index repository instead of a new local artifact'
type: boolean
required: false
default: true
# GITHUB_TOKEN permissions needed for deployment (copied from pages.yaml)
permissions:
contents: read
deployments: none
pull-requests: write
statuses: write
jobs:
index:
name: Index
if: (!inputs.reuse-index)
uses: ./.github/workflows/index.yaml
testbed:
needs: index
name: Testbed
uses: ./.github/workflows/testbed.yaml
with:
index-artifact: ${{ !inputs.reuse-index }}
pages:
needs: [index, testbed]
name: Pages
uses: ./.github/workflows/pages.yaml
secrets: inherit
with:
index-artifact: ${{ !inputs.reuse-index }}