Skip to content

Commit

Permalink
Add CFA token.
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-kvashnin committed Jun 2, 2024
1 parent af978ed commit 1a84fd2
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://container.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://container.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 = "6a24784e19614623999cc7a68f094afe"

0 comments on commit 1a84fd2

Please sign in to comment.