Skip to content

Commit

Permalink
What if I run the linter through bundle?
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwlchan committed Apr 7, 2024
1 parent 8e2464a commit f0ef70e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
run: bundle exec jekyll build --drafts

- name: "Run linting"
run: ruby scripts/linter.rb
run: bundle exec ruby scripts/linter.rb

- name: "Publish drafts"
if: github.ref == 'refs/heads/main'
Expand All @@ -89,7 +89,7 @@ jobs:
git config --global --add safe.directory /home/runner/work/alexwlchan.net/alexwlchan.net
ruby scripts/publish_drafts.rb
bundle exec ruby scripts/publish_drafts.rb
bundle exec jekyll build
else
echo "There is no _drafts folder, so nothing to publish!"
Expand Down

0 comments on commit f0ef70e

Please sign in to comment.