mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
Update docs workflow
This commit is contained in:
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -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')
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user