Skip to content

Create Meeting Artifacts (Scheduled) #8

Create Meeting Artifacts (Scheduled)

Create Meeting Artifacts (Scheduled) #8

name: Create Meeting Artifacts (Scheduled)
on:
workflow_dispatch:
inputs:
dry_run:
type: boolean
description: 'Dry run?'
default: false
required: true
schedule:
- cron: '0 10 * * 1'
jobs:
create-matrix:
runs-on: ubuntu-latest
outputs:
groups: ${{ steps.set-matrix.outputs.configs }}
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Get config basenames
id: set-matrix
run: |
CONFIGS=$(find templates/ -maxdepth 1 -type f -name 'meeting_base_*' | jq -R -s -c 'split("\n")[:-1] | map(sub(".*meeting_base_";""))')
echo "configs=$CONFIGS" >> $GITHUB_OUTPUT
create-artifacts:
needs: create-matrix
strategy:
fail-fast: false
matrix:
groups: ${{ fromJson(needs.create-matrix.outputs.groups) }}
uses: ./.github/workflows/create-meeting-artifacts-manual.yml
with:
meeting_group: ${{ matrix.groups }}
dry_run: ${{ github.event.inputs.dry_run }}