mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-03-03 15:01:28 +01:00
Bumps the dev-dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [renovatebot/github-action](https://github.com/renovatebot/github-action). Updates `actions/checkout` from 5.0.0 to 5.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v5...v5.0.1) Updates `renovatebot/github-action` from 44.0.2 to 44.0.3 - [Release notes](https://github.com/renovatebot/github-action/releases) - [Changelog](https://github.com/renovatebot/github-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/renovatebot/github-action/compare/v44.0.2...v44.0.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: renovatebot/github-action dependency-version: 44.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
name: Release Docs
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
# See https://docs.github.com/fr/webhooks/webhook-events-and-payloads#workflow_dispatch
|
|
# Can be used to update doc with latest tag
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
release_docs:
|
|
permissions:
|
|
contents: write # for mike to push
|
|
|
|
name: Release Docs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
with:
|
|
python-version: "3.12"
|
|
cache: "pip"
|
|
cache-dependency-path: "./docs/scripts/requirements.txt"
|
|
|
|
- run: |
|
|
pip install -r docs/scripts/requirements.txt
|
|
|
|
- name: Configure Git user
|
|
run: |
|
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
git config --local user.name "github-actions[bot]"
|
|
|
|
- name: build and push
|
|
run: |
|
|
VERSION="${{ github.ref_name }}"
|
|
if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then
|
|
VERSION="latest"
|
|
fi
|
|
mike deploy $VERSION --push --update-aliases
|
|
mike set-default --push latest
|