Update docs workflow

This commit is contained in:
CrazyMax
2020-06-22 23:41:43 +02:00
parent 18c9073e13
commit c0d7242302
2 changed files with 1 additions and 3 deletions

View File

@@ -53,8 +53,6 @@ jobs:
run: | run: |
docker run --rm -v "$(pwd):/docs" mkdocs build --strict docker run --rm -v "$(pwd):/docs" mkdocs build --strict
sudo chown -R $(id -u):$(id -g) ./site sudo chown -R $(id -u):$(id -g) ./site
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
- -
name: Deploy name: Deploy
if: success() && github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || steps.prepare.outputs.release == 'true') if: success() && github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || steps.prepare.outputs.release == 'true')

View File

@@ -47,7 +47,7 @@ plugins:
minify_html: true minify_html: true
google_analytics: google_analytics:
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"] - UA-12516800-10
- auto - auto
nav: nav: