Skip to content

Commit

Permalink
Update jekyll.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerbxyz committed Oct 27, 2022
1 parent ee951f3 commit 3c6e49f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
if: github.event_name == 'pull_request'
run: bundle exec rake
- name: Build with Jekyll
# Only run on pushes or manual runs
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
# Don't run in pull requests
if: github.event_name != 'pull_request'
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
Expand All @@ -60,8 +60,8 @@ jobs:

# Deployment job
deploy:
# Only run on pushes or manual runs
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
# Only run on pushes to the default branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 3c6e49f

Please sign in to comment.