Skip to content

Commit

Permalink
Disable CSS/JS fingerprinting in diffable output
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Mar 3, 2024
1 parent 6b77ac3 commit 865bc6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,15 @@ jobs:
env:
HUGO_PARAMS_robots: 'diffable-value'
HUGO_PARAMS_gitBranch: 'fake-branch'
HUGO_PARAMS_enableFingerprinting: 'false'

- name: Create diffable site (without drafts)
if: ${{ env.DEPLOY_STAGE == 'production' }}
run: hugo --destination '${{ env.DIFF_PUBLISH_DIR }}' ${{ env.HUGO_COMMON_BUILD_PARAMS }} --baseURL 'https://fake.manski.net'
env:
HUGO_PARAMS_robots: 'diffable-value'
HUGO_PARAMS_gitBranch: 'fake-branch'
HUGO_PARAMS_enableFingerprinting: 'false'

- name: Beautify diffable site
run: node beautify.js '${{ env.DIFF_PUBLISH_DIR }}'
Expand Down

0 comments on commit 865bc6c

Please sign in to comment.