Skip to content

chore: add prettier and lint-staged (#9) #1

chore: add prettier and lint-staged (#9)

chore: add prettier and lint-staged (#9) #1

Workflow file for this run

name: CD
on:
push:
branches:
- main
permissions:
contents: read
jobs:
orchestrator:
name: Orchestrator
runs-on: ubuntu-latest
outputs:
should-deploy-docs: ${{ steps.changed-website-files.outputs.any_changed == 'true' || null }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v42
id: changed-website-files
with:
files: |
website/**
docs/**
docs:
name: Documentation
concurrency:
group: deploy-documentation
if: ${{ needs.orchestrator.outputs.should-deploy-docs }}
needs:
- orchestrator
uses: ./.github/workflows/deploy-documentation.yaml
with:
deploy: true
permissions:
contents: write