Skip to content

Commit

Permalink
Workflow now uses sed to insert dark visitors token into config
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-nano committed Jan 27, 2025
1 parent ff16929 commit 4383690
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
run: bundle exec jekyll build
run: sed 's/DARK_VISITORS_TOKEN/$DARK_VISITORS_TOKEN/g' _config.yml && bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,5 @@ plugins:
- jekyll-darkvisitors

darkvisitors:
access_token: ${DARK_VISITORS_TOKEN}
access_token: DARK_VISITORS_TOKEN
append_existing: true

0 comments on commit 4383690

Please sign in to comment.