mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-27 18:04:46 +00:00
Bumps the all-actions group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4.2.2` | `6.0.1` | | [yshui/git-clang-format-lint](https://github.com/yshui/git-clang-format-lint) | `1.17` | `1.18` | | [github/codeql-action](https://github.com/github/codeql-action) | `3.28.18` | `4.31.9` | | [codespell-project/actions-codespell](https://github.com/codespell-project/actions-codespell) | `2.1` | `2.2` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.4.3` | `5.5.2` | | [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) | `3` | `4` | Updates `actions/checkout` from 4.2.2 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](11bd71901b...8e8c483db8) Updates `yshui/git-clang-format-lint` from 1.17 to 1.18 - [Release notes](https://github.com/yshui/git-clang-format-lint/releases) - [Commits](27f3890c66...0758f498e5) Updates `github/codeql-action` from 3.28.18 to 4.31.9 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](ff0a06e83c...5d4e8d1aca) Updates `codespell-project/actions-codespell` from 2.1 to 2.2 - [Release notes](https://github.com/codespell-project/actions-codespell/releases) - [Commits](406322ec52...8f01853be1) Updates `codecov/codecov-action` from 5.4.3 to 5.5.2 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](18283e04ce...671740ac38) Updates `peter-evans/repository-dispatch` from 3 to 4 - [Release notes](https://github.com/peter-evans/repository-dispatch/releases) - [Commits](https://github.com/peter-evans/repository-dispatch/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions - dependency-name: yshui/git-clang-format-lint dependency-version: '1.18' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-actions - dependency-name: github/codeql-action dependency-version: 4.31.9 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions - dependency-name: codespell-project/actions-codespell dependency-version: '2.2' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-actions - dependency-name: codecov/codecov-action dependency-version: 5.5.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-actions - dependency-name: peter-evans/repository-dispatch dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
69 lines
2.3 KiB
YAML
69 lines
2.3 KiB
YAML
name: Trigger kmod-project.github.io
|
|
|
|
on:
|
|
# Runs on pushes targeting master and tag with prefix `v`
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'ci-test-docs'
|
|
tags:
|
|
- 'v*'
|
|
|
|
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
docs:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: 'ubuntu:24.04'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
|
|
- name: Setup OS
|
|
uses: ./.github/actions/setup-os
|
|
|
|
- name: Build docs
|
|
run: |
|
|
meson setup -Ddocs=true builddir/
|
|
meson compile -C builddir/
|
|
|
|
- name: Extract docs version
|
|
shell: bash
|
|
run: |
|
|
if [[ "${GITHUB_REF}" == refs/heads/* ]]; then
|
|
echo DOC_VERSION=${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
|
elif [[ "${GITHUB_REF}" == refs/tags/* ]]; then
|
|
echo DOC_VERSION=${GITHUB_REF#refs/tags/} >> $GITHUB_ENV
|
|
else
|
|
exit 1
|
|
fi
|
|
|
|
echo DOC_VERSION_COMMIT="${GITHUB_SHA}" >> $GITHUB_ENV
|
|
|
|
- name: Push docs to kmod-project.github.io
|
|
uses: QXIP/github-action-push-to-another-repository@a910af640bd64288db58f0e71a361aabac022f8b
|
|
env:
|
|
API_TOKEN_GITHUB: ${{ secrets.KMOD_DOCS }}
|
|
with:
|
|
source-directory: 'builddir/libkmod/docs/html'
|
|
destination-github-username: '${{ github.repository_owner }}'
|
|
destination-repository-name: 'kmod-project.github.io'
|
|
user-name: 'github-actions[bot]'
|
|
user-email: '41898282+github-actions[bot]@users.noreply.github.com'
|
|
target-branch: 'pages'
|
|
commit-message: 'Auto-add ${{ env.DOC_VERSION }} docs for commit ${{ env.DOC_VERSION_COMMIT }}'
|
|
target-directory: '${{ env.DOC_VERSION }}'
|
|
|
|
- name: Dispatch kmod-project.github.io
|
|
uses: peter-evans/repository-dispatch@v4
|
|
with:
|
|
token: ${{ secrets.KMOD_DOCS }}
|
|
repository: ${{ github.repository_owner }}/kmod-project.github.io
|
|
event-type: publish-doc
|
|
client-payload: '{"source":"${{ github.repository }}","version":"${{ env.DOC_VERSION }}"}'
|