Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
with:
hugo-version: '0.154.5'
extended: true
- name: Inject PostHog API key
run: |
cd DavidgsWeb;
sed -i "s|__POSTHOG_API_KEY__|${{ secrets.POSTHOG_API_KEY }}|g" config.yml
- name: Build
run: cd DavidgsWeb; hugo mod get; hugo mod npm pack; npm install; hugo --minify
- name: rsync deployments
Expand Down
5 changes: 2 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,11 @@ params:
invisible: 1
nonce: sBQMjIu6F5wRbojje4UQ6WQL7zW1994WyaBlJYAHYg
posthog:
apiKey: phc_xvr9iYiOKNEZdxKH8JC7PFHwCVJflLczaKNIzeoEFVy
host: 1dbb4e0cab3dc5f68bde.cf-prod-us-proxy.proxyhog.com
apiKey: __POSTHOG_API_KEY__
host: dgs.davidgs.com
# # Optional configuration
options:
defaults: '2025-11-30'
# id: phc_xvr9iYiOKNEZdxKH8JC7PFHwCVJflLczaKNIzeoEFVy
comment:
enable: true
services:
Expand Down
Loading