Skip to content

Commit

Permalink
docs/ build
Browse files Browse the repository at this point in the history
  • Loading branch information
singlesp committed Jan 7, 2025
1 parent 33b920d commit 040bf52
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ name: Deploy Jekyll site to Pages
on:
push:
branches: ["main"]
paths:
- "docs/**"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -28,6 +30,9 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -37,6 +42,7 @@ jobs:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
working-directory: '${{ github.workspace }}/docs'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand All @@ -48,6 +54,8 @@ jobs:
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: docs/_site/

# Deployment job
deploy:
Expand Down

0 comments on commit 040bf52

Please sign in to comment.