Skip to content

go rewrite - netapp, networkconnectivity, notebooks, orgpolicy (#11280) #20

go rewrite - netapp, networkconnectivity, notebooks, orgpolicy (#11280)

go rewrite - netapp, networkconnectivity, notebooks, orgpolicy (#11280) #20

name: repository-documentation-deploy
permissions: read-all
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.115.0'
extended: true
- name: Build
working-directory: ./docs
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # v3.9.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public