Files
diun/.github/workflows/docs.yml
dependabot[bot] 68d80f9475 Bump crazy-max/ghaction-github-pages from 2 to 3 (#620)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v3)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 01:35:47 +02:00

47 lines
973 B
YAML

name: docs
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
tags:
- 'v*'
pull_request:
jobs:
publish:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build docs
uses: docker/bake-action@v2
with:
targets: docs
pull: true
-
name: Check GitHub Pages status
uses: crazy-max/ghaction-github-status@v3
with:
pages_threshold: major_outage
-
name: Deploy
if: github.event_name != 'pull_request'
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: site
jekyll: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}