Skip to content

docs(hoverkraft-tech/ci-github-nodejs): update documentation #691

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

docs(hoverkraft-tech/ci-github-nodejs): update documentation #691

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
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@301ef70a95e03b39e07ee0d3dc2da21de82e51ce # 0.4.0
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.qkg1.topmon/actions/create-and-merge-pull-request@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3
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@ed354ada70b9f518c2bb663e18a80041c2cf5156 # 0.27.1
with:
build-path: application/build
build-artifact-id: ${{ needs.ci.outputs.build-artifact-id }}