Skip to content

Publish Documentation #1

Publish Documentation

Publish Documentation #1

Workflow file for this run

# This is for publishing documentation manually.
# During release `publish-release.yaml` publishes docs automatically.
name: Publish Documentation
on:
workflow_dispatch:
jobs:
publish_docs:

Check failure on line 9 in .github/workflows/publish-docs.yaml

View workflow run for this annotation

GitHub Actions / Publish Documentation

Invalid workflow file

The workflow is not valid. .github/workflows/publish-docs.yaml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
name: Publish documentation
needs: [publish_release]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup-and-build
- name: Build docs
run: pnpm run docs:build
- name: Deploy documentation
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: tutorialkit-docs-page
workingDirectory: 'docs/tutorialkit.dev'
directory: dist