remove comment #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish TechDocs Site | |
on: | |
push: | |
paths: | |
- "docs/**" | |
- "mkdocs.yml" | |
- ".github/workflows/techdocs.yml" | |
jobs: | |
publish-techdocs-site: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
id-token: write | |
# The following secrets are required in your CI environment for publishing files to AWS S3. | |
# e.g. You can use GitHub Organization secrets to set them for all existing and new repositories. | |
steps: | |
- id: 'techdocs-action' | |
uses: kartverket/backstage-techdocs-action@v1 | |
with: | |
entity_kind: 'component' | |
entity_name: 'kartverket.dev' | |
gcs_bucket_name: ${{vars.BACKSTAGE_TECHDOCS_GCS_BUCKET_NAME}} | |
workload_identity_provider: ${{vars.BACKSTAGE_TECHDOCS_WIF}} | |
service_account: ${{vars.BACKSTAGE_TECHDOCS_SERVICE_ACCOUNT}} | |
project_id: ${{vars.BACKSTAGE_TECHDOCS_PROJECT_ID}} |