Skip to content

ci(tools): update docker/build-push-action action to v6 #238

ci(tools): update docker/build-push-action action to v6

ci(tools): update docker/build-push-action action to v6 #238

Workflow file for this run

---
name: docs
"on":
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@v4
- name: Setup hugo
id: hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: latest
extended: true
- name: Run docs
id: docs
run: make docs
- name: Deploy pages
id: deploy
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/public/
...