Skip to content

Use secrets block

Use secrets block #43

Workflow file for this run

name: Documentation CI
on:
push:
branches: [ "main" ]
permissions:
id-token: write
pages: write
jobs:
docs:
uses: kordlib/.teamcity/.github/workflows/wiki.yml@main

Check failure on line 12 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Documentation CI

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 12, Col: 11): Input algolia-token is required, but not provided while calling. .github/workflows/docs.yml (Line: 20, Col: 22): Invalid secret, algolia-token is not defined in the referenced workflow.
with:
build-dokka: true
path: docs/c
product: C
algolia-index: codegen_kt_wiki
version: main-SNAPSHOT
secrets:
algolia-token: '${{ secrets.ALGOLIA_KEY }}'