Skip to content

Add high level doc for data plane config #11

Add high level doc for data plane config

Add high level doc for data plane config #11

Workflow file for this run

name: Build and deploy docs
on:
workflow_dispatch:
inputs:
environment:
description: 'Environment to deploy to'
required: true
default: 'preview'
type: choice
options:
- preview
- dev
- staging
- prod
pull_request:
branches:
- "*"
paths:
- "site/**"
concurrency:
group: ${{ github.ref_name }}-docs-push
cancel-in-progress: true
permissions:
contents: read
jobs:
call-docs-build-push:
if: ${{ github.event.repository.fork == false }} && ${{ secrets.AZURE_CREDENTIALS_DOCS != '' }}

Check failure on line 30 in .github/workflows/docs-build-push.yml

View workflow run for this annotation

GitHub Actions / Build and deploy docs

Invalid workflow file

The workflow is not valid. .github/workflows/docs-build-push.yml (Line: 30, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.AZURE_CREDENTIALS_DOCS != ''
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@03a9a3808fcb77cd0c19d7fa5d59b25565dd1d6d # v1.0.2
permissions:
pull-requests: write # needed to write preview url comment to PR
contents: read
with:
production_url_path: "/nginx-gateway-fabric"
preview_url_path: "/previews/nginx-gateway-fabric"
docs_source_path: "public/nginx-gateway-fabric"
docs_build_path: "./site"
doc_type: "hugo"
environment: ${{ inputs.environment }}
secrets:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS_DOCS }}
AZURE_KEY_VAULT: ${{ secrets.AZURE_KEY_VAULT_DOCS }}