Skip to content

Create Meeting Artifacts (Scheduled) #16

Create Meeting Artifacts (Scheduled)

Create Meeting Artifacts (Scheduled) #16

name: Create Meeting Artifacts (Scheduled)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
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
secrets: inherit
with:
meeting_group: ${{ matrix.groups }}