Skip to content

docs(hoverkraft-tech/ci-github-publish): update documentation #673

docs(hoverkraft-tech/ci-github-publish): update documentation

docs(hoverkraft-tech/ci-github-publish): update documentation #673

Workflow file for this run

name: Internal - Main - Continuous Integration
on:
push:
branches: [main]
tags: ["*"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
generate-docs:
name: Generate Documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Generate Documentation
uses: ./.github/actions/generate-docs
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- id: generate-github-actions-docs
uses: hoverkraft-tech/ci-dokumentor@3258ef0de948ec25e5939618d5ef510445aed869 # 0.3.1
with:
source: |
.github/actions/**/action.yml
.github/workflows/sync-docs-dispatcher.yml
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: generate-token
with:
client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }}
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }} # zizmor: ignore[secrets-outside-env]
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@624be17604ee0a7378488191aacb35851e7cf001 # 0.37.1
with:
github-token: ${{ steps.generate-token.outputs.token }}
branch: docs/action-documentation-update
title: "docs: update action documentation"
body: Update action documentation
commit-message: |
docs: update action documentation
[skip ci]
ci:
name: Run CI Checks
needs: generate-docs
uses: ./.github/workflows/__shared-ci.yml
permissions:
actions: read
contents: read
id-token: write
issues: write
packages: read
pull-requests: write
security-events: write
statuses: write
secrets:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
deploy:
if: github.ref_name == github.event.repository.default_branch
name: Deploy website
needs: ci
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.url }}
steps:
- id: deployment
uses: hoverkraft-tech/ci-github-publish/actions/deploy/github-pages@b2562b46714e535a0113f90f554b55e1248212c1 # 0.26.3
with:
build-path: application/build
build-artifact-id: ${{ needs.ci.outputs.build-artifact-id }}