Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesrussell committed Jun 29, 2024
1 parent 4e02211 commit 6d82e0c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Jekyll site
on:
push:
branches: ["main"]
push:
branches: ["main"]
permissions:
contents: read
pages: write
Expand All @@ -12,12 +12,23 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Ruby and Bundler
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
bundler: 2.5.4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Build
uses: actions/jekyll-build-pages@v1

- name: Upload artifact
uses: actions/upload-pages-artifact@v3

deploy:
runs-on: ubuntu-latest
needs: build
Expand Down
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@
{% include google.html %}
{% endif %}

{% if jekyll.environment != "production" %}
{% include custom-head.html %}
{% endif %}
</head>

0 comments on commit 6d82e0c

Please sign in to comment.