File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2424 # Build job
2525 build :
2626 runs-on : ubuntu-latest
27+ env :
28+ JEKYLL_CONFIG_GOOGLE_ANALYICS : ${{ vars.JEKYLL_CONFIG_GOOGLE_ANALYICS }}
2729 steps :
2830 - name : Checkout
2931 uses : actions/checkout@v4
32+ - name : Generate config from template
33+ run : envsubst < _config.template.yml > _config.yml
3034 - name : Setup Pages
3135 uses : actions/configure-pages@v5
3236 - name : Build with Jekyll
Original file line number Diff line number Diff line change @@ -70,8 +70,7 @@ plugins:
7070 - jekyll-sitemap
7171
7272google_analytics :
73- - UA-185058308-1 # Old GA Universal Analytics property
74- - G-RY6FRPMXHZ # New GA4 property
73+ - ${JEKYLL_CONFIG_GOOGLE_ANALYICS}
7574
7675gravatar_hash : 2136e716a089f4a3794f4007328c7bfb
7776code_block_max_height : 500px
You can’t perform that action at this time.
0 commit comments