Skip to content

Commit

Permalink
Configure CFA token.
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-kvashnin committed Jun 2, 2024
1 parent fe02abf commit 0c1a121
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions docs/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,6 @@ brand = "Norvica"
#newsArticle = [] # NewsArticle sections
#blogPosting = ["blog"] # BlogPosting sections
#product = [] # Product sections

[add_ons]
cloudflareAnalyticsToken = "ea0e6d5cf4654a51afd95be7afeb9362"

0 comments on commit 0c1a121

Please sign in to comment.