github.com/goreleaser/nfpm/v2@v2.44.0/.github/workflows/docs.yml (about) 1 name: docs 2 3 on: 4 push: 5 branches: 6 - "main" 7 paths: 8 - "www/**/*" 9 - ".github/workflows/docs.yml" 10 pull_request: 11 paths: 12 - "www/**/*" 13 - ".github/workflows/docs.yml" 14 15 permissions: 16 contents: read 17 18 jobs: 19 build: 20 runs-on: ubuntu-latest 21 steps: 22 - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 23 - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 24 with: 25 go-version: "1.21" 26 - uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3 27 with: 28 hugo-version: "latest" 29 extended: true 30 - run: | 31 cd www 32 hugo --minify 33 - uses: wjdp/htmltest-action@31be84a95c860a331e0cf9a99f71e3eb39d2f86b # master 34 with: 35 config: www/htmltest.yml 36 path: www/public