diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cdb3111..d1720f5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,11 +22,11 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Pull builder image - run: docker pull ghcr.io/norvica/docs:v0.2.1 + run: docker pull ghcr.io/norvica/docs:v0.3.0 - name: Build Documentation run: | - docker run --rm -v $(pwd)/docs/content:/app/content -v $(pwd)/docs/config/_default:/app/config/_default -v $(pwd)/docs/public:/app/public -e HUGO_ENVIRONMENT=production -e HUGO_ENV=production ghcr.io/norvica/docs:v0.2.1 npm run build -- --gc --minify --baseURL "https://validation.norvica.dev" + docker run --rm -v $(pwd)/docs/content:/app/content -v $(pwd)/docs/config/_default:/app/config/_default -v $(pwd)/docs/public:/app/public -e HUGO_ENVIRONMENT=production -e HUGO_ENV=production ghcr.io/norvica/docs:v0.3.0 npm run build -- --gc --minify --baseURL "https://validation.norvica.dev" - name: Publish uses: cloudflare/pages-action@v1 diff --git a/docs/config/_default/params.toml b/docs/config/_default/params.toml index c1673db..1d837e1 100644 --- a/docs/config/_default/params.toml +++ b/docs/config/_default/params.toml @@ -135,3 +135,6 @@ brand = "Norvica" #newsArticle = [] # NewsArticle sections #blogPosting = ["blog"] # BlogPosting sections #product = [] # Product sections + +[add_ons] + cloudflareAnalyticsToken = "ea0e6d5cf4654a51afd95be7afeb9362"