1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +02:00

docs: task

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos A Becker
2021-10-10 11:23:33 -03:00
parent bf95432c53
commit 7f9bd343b1
2 changed files with 9 additions and 10 deletions

View File

@@ -13,16 +13,10 @@ jobs:
htmltest:
runs-on: ubuntu-latest
steps:
-
name: checkout
uses: actions/checkout@v2
-
name: build
run: |
docker run --rm -v ${PWD}/www:/docs squidfunk/mkdocs-material build
-
name: htmltest
uses: wjdp/htmltest-action@master
- uses: actions/checkout@v2
- uses: arduino/setup-task@v1
- run: task docs:build
- uses: wjdp/htmltest-action@master
with:
path: www/site
config: www/htmltest.yml

View File

@@ -86,6 +86,11 @@ tasks:
- task: docs:generate
- '{{.DOCKER}} run --rm -it -p 8000:8000 -v ${PWD}/www:/docs docker.io/squidfunk/mkdocs-material'
docs:build:
desc: Build docs
cmds:
- docker run --rm -v ${PWD}/www:/docs docker.io/squidfunk/mkdocs-material build
docs:vercel:build:
desc: Build documentation for deploying to Vercel
cmds: