Update mkdocs.yml

This commit is contained in:
Antonio Navarro Perez 2021-10-07 19:27:19 +02:00 committed by GitHub
parent 8d3d2d9d02
commit 8080c14610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: MkDocs name: mkdocs
on: on:
push: push:
@ -38,10 +38,10 @@ jobs:
working-directory: ./mkdocs working-directory: ./mkdocs
run: | run: |
mkdocs build mkdocs build
- name: Validate generated HTML files # - name: Validate generated HTML files
working-directory: ./mkdocs # working-directory: ./mkdocs
run: | # run: |
docker run -v $(pwd):/test --rm wjdp/htmltest --conf .htmltest.yml # docker run -v $(pwd):/test --rm wjdp/htmltest --conf .htmltest.yml
# On push to master or release branch, deploy docs # On push to master or release branch, deploy docs
- name: Set up git author - name: Set up git author
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/v') if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/v')