![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](755da8c3cf...24cb908017
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.3 KiB
YAML
55 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@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
|
|
|
|
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
|
|
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@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
|
|
|
|
- name: Deploy
|
|
uses: ./.github/actions/mkdocs
|
|
env:
|
|
PERSONAL_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|