Skip to content

docs(hoverkraft-tech/ci-github-container): update documentation #463

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

docs(hoverkraft-tech/ci-github-container): update documentation #463

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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@c46a1a108957237cf485103a80b060c35c7dba33 # 0.2.2
with:
source: |
.github/actions/**/action.yml
.github/workflows/sync-docs-dispatcher.yml
- uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
id: generate-token
with:
app-id: ${{ vars.CI_BOT_APP_ID }}
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@4b53189212d5810f710bed89711002626977215b # 0.33.0
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
secrets: inherit
permissions:
contents: read
id-token: write
packages: read
pull-requests: write
security-events: write
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@5ff7d4c3910971ed53834becd5967271b4e228cf # 0.21.1
with:
build-path: application/build
build-artifact-id: ${{ needs.ci.outputs.build-artifact-id }}