Skip to content

Commit

Permalink
Separated insertion of dark visitors token into another actions step
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-nano committed Jan 27, 2025
1 parent 3b2f9e8 commit 97fa0aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ jobs:
with:
ruby-version: '3.1'
bundler-cache: true # runs 'bundle install' and caches installed gems
DARK_VISITORS_TOKEN: ${{ secrets.DARK_VISITORS_KEY }}
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
run: sed "s/DARK_VISITORS_TOKEN/$DARK_VISITORS_TOKEN/g" _config.yml && bundle exec jekyll build
run: sed "s/DARK_VISITORS_TOKEN/${{secrets.DARK_VISITORS_TOKEN}}/g" _config.yml && bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Upload artifact
Expand Down

0 comments on commit 97fa0aa

Please sign in to comment.