Skip to content

CreateDocs

CreateDocs #10

Workflow file for this run

name: CreateDocs
on:
workflow_dispatch:
inputs:
branches:
description: "JSON array of branches: ['18','20'] (no spaces) or leave blank for all current branches."
required: false
type: string
schedule:
# Times are UTC
- cron: '0 04 * * *'
jobs:
CreateDocs:
if: ${{ ( github.event_name == 'schedule' && fromJSON(vars.WIKIDOCS_ENABLE) ) || github.event_name == 'workflow_dispatch' }}
strategy:
fail-fast: false
matrix:
branch: ${{ fromJSON(inputs.branches || vars.WIKIDOC_BRANCHES) }}
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskCreateDocs.yml@main
with:
asterisk_repo: ${{ github.repository }}
base_branch: ${{ matrix.branch }}
secrets:
TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 25 in .github/workflows/CreateDocs.yml

View workflow run for this annotation

GitHub Actions / CreateDocs

Invalid workflow file

The workflow is not valid. .github/workflows/CreateDocs.yml (Line: 25, Col: 14): Invalid secret, TOKEN is not defined in the referenced workflow.