Skip to content

ci(tools): update dependabot/fetch-metadata action to v2 #144

ci(tools): update dependabot/fetch-metadata action to v2

ci(tools): update dependabot/fetch-metadata action to v2 #144

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@v2
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@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/public/
...