![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](2541b1294d...93ea575cb5
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
|
|
changes:
|
|
permissions:
|
|
contents: read # for dorny/paths-filter to fetch a list of changed files
|
|
pull-requests: read # for dorny/paths-filter to read pull requests
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
(github.repository == 'kubernetes/ingress-nginx')
|
|
outputs:
|
|
docs: ${{ steps.filter.outputs.docs }}
|
|
charts: ${{ steps.filter.outputs.charts }}
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.0.2
|
|
|
|
- uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721 # v2.10.2
|
|
id: filter
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
filters: |
|
|
docs:
|
|
- 'docs/**/*'
|
|
|
|
docs:
|
|
name: Update
|
|
runs-on: ubuntu-latest
|
|
needs:
|
|
- changes
|
|
if: |
|
|
(github.repository == 'kubernetes/ingress-nginx') &&
|
|
(needs.changes.outputs.docs == 'true')
|
|
|
|
permissions:
|
|
contents: write # needed to write releases
|
|
|
|
steps:
|
|
|
|
- name: Checkout master
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.0.2
|
|
|
|
- name: Deploy
|
|
uses: ./.github/actions/mkdocs
|
|
env:
|
|
PERSONAL_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|