Bumps the actions-deps group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) | `9` | `10` | | [EnricoMi/publish-unit-test-result-action](https://github.com/enricomi/publish-unit-test-result-action) | `2.19.0` | `2.20.0` | | [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `4.1.0` | `4.2.1` | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.4.2` | `5.4.3` | | [github/codeql-action](https://github.com/github/codeql-action) | `3.28.17` | `3.28.18` | | [zephyrproject-rtos/action-zephyr-setup](https://github.com/zephyrproject-rtos/action-zephyr-setup) | `1.0.6` | `1.0.7` | | [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) | `3.0.24` | `3.0.25` | | [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.4.1` | `2.4.2` | Updates `dawidd6/action-download-artifact` from 9 to 10 - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](07ab29fd4a...4c1e823582) Updates `EnricoMi/publish-unit-test-result-action` from 2.19.0 to 2.20.0 - [Release notes](https://github.com/enricomi/publish-unit-test-result-action/releases) - [Commits](afb2984f4d...3a74b29574) Updates `aws-actions/configure-aws-credentials` from 4.1.0 to 4.2.1 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](ececac1a45...b475783126) Updates `codecov/codecov-action` from 5.4.2 to 5.4.3 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](ad3126e916...18283e04ce) Updates `github/codeql-action` from 3.28.17 to 3.28.18 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](60168efe1c...ff0a06e83c) Updates `zephyrproject-rtos/action-zephyr-setup` from 1.0.6 to 1.0.7 - [Commits](f7b70269a8...b2453c7296) Updates `zgosalvez/github-actions-ensure-sha-pinned-actions` from 3.0.24 to 3.0.25 - [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases) - [Commits](2d6823da40...fc87bb5b5a) Updates `ossf/scorecard-action` from 2.4.1 to 2.4.2 - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](f49aabe0b5...05b42c6244) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: EnricoMi/publish-unit-test-result-action dependency-version: 2.20.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: aws-actions/configure-aws-credentials dependency-version: 4.2.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps - dependency-name: codecov/codecov-action dependency-version: 5.4.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: github/codeql-action dependency-version: 3.28.18 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: zephyrproject-rtos/action-zephyr-setup dependency-version: 1.0.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions dependency-version: 3.0.25 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps - dependency-name: ossf/scorecard-action dependency-version: 2.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-deps ... Signed-off-by: dependabot[bot] <support@github.com>
65 lines
2.0 KiB
YAML
65 lines
2.0 KiB
YAML
# Copyright (c) 2020 Linaro Limited.
|
|
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
name: Documentation Publish
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Documentation Build"]
|
|
branches:
|
|
- main
|
|
- v*
|
|
types:
|
|
- completed
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
doc-publish:
|
|
name: Publish Documentation
|
|
runs-on: ubuntu-24.04
|
|
if: |
|
|
github.event.workflow_run.event != 'pull_request' &&
|
|
github.event.workflow_run.conclusion == 'success' &&
|
|
github.repository == 'zephyrproject-rtos/zephyr'
|
|
|
|
steps:
|
|
- name: Download artifacts
|
|
uses: dawidd6/action-download-artifact@4c1e823582f43b179e2cbb49c3eade4e41f992e2 # v10
|
|
with:
|
|
workflow: doc-build.yml
|
|
run_id: ${{ github.event.workflow_run.id }}
|
|
|
|
- name: Uncompress HTML docs
|
|
run: |
|
|
tar xf html-output/html-output.tar.xz -C html-output
|
|
if [ -f api-coverage/api-coverage.tar.xz ]; then
|
|
tar xf api-coverage/api-coverage.tar.xz -C api-coverage
|
|
fi
|
|
|
|
- name: Configure AWS Credentials
|
|
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
|
|
with:
|
|
aws-access-key-id: ${{ vars.AWS_DOCS_ACCESS_KEY_ID }}
|
|
aws-secret-access-key: ${{ secrets.AWS_DOCS_SECRET_ACCESS_KEY }}
|
|
aws-region: us-east-1
|
|
|
|
- name: Upload to AWS S3
|
|
env:
|
|
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
|
|
run: |
|
|
if [ "${HEAD_BRANCH:0:1}" == "v" ]; then
|
|
VERSION=${HEAD_BRANCH:1}
|
|
else
|
|
VERSION="latest"
|
|
fi
|
|
|
|
aws s3 sync --quiet html-output/html s3://docs.zephyrproject.org/${VERSION} --delete
|
|
aws s3 sync --quiet html-output/html/doxygen/html s3://docs.zephyrproject.org/apidoc/${VERSION} --delete
|
|
if [ -d api-coverage/coverage-report ]; then
|
|
aws s3 sync --quiet api-coverage/coverage-report/ s3://docs.zephyrproject.org/api-coverage/${VERSION} --delete
|
|
fi
|
|
aws s3 cp --quiet pdf-output/zephyr.pdf s3://docs.zephyrproject.org/${VERSION}/zephyr.pdf
|