Skip to content

Merge pull request #652 from kubernetes-sigs/dependabot/go_modules/go… #171

Merge pull request #652 from kubernetes-sigs/dependabot/go_modules/go…

Merge pull request #652 from kubernetes-sigs/dependabot/go_modules/go… #171

name: Documentation
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make -C docs/book build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/book/book
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: gh-pages
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4