Skip to content

Commit

Permalink
add step to set analytics tracking id
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasrenault committed Jun 7, 2024
1 parent d918e22 commit 636458b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
id: pages
uses: actions/configure-pages@v5
- name: Set Google Analytics Tag
run: sed -i 's/__GA_TRACKING_ID__/${{ secrets.GA_TRACKING_ID }}/g' _config.yml
run: sed -i "s/__GA_TRACKING_ID__/$GA_TRACKING_ID/g" _config.yml
env:
GA_TRACKING_ID: ${{secrets.GA_TRACKING_ID}}
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
Expand Down

0 comments on commit 636458b

Please sign in to comment.