Update DO app spec for Jekyll production build and add GitHub Actions workflow

This commit is contained in:
Your Name
2026-07-31 11:46:50 -04:00
parent c5993bce0d
commit 48c1ff0874
3 changed files with 31 additions and 4 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
name: simcoetradesjournal
static_sites:
- name: simcoetradesjournal
build_command: bundle exec jekyll build
environment_slug: jekyll
build_command: JEKYLL_ENV=production bundle exec jekyll build
output_dir: _site
github:
branch: main
+1 -2
View File
@@ -2,8 +2,7 @@ spec:
name: simcoetradesjournal
static_sites:
- name: simcoetradesjournal
build_command: bundle exec jekyll build
environment_slug: jekyll
build_command: JEKYLL_ENV=production bundle exec jekyll build
output_dir: _site
git:
branch: main
+29
View File
@@ -0,0 +1,29 @@
name: Build Jekyll Site
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Build site with Jekyll
run: |
JEKYLL_ENV=production bundle exec jekyll build
env:
JEKYLL_ENV: production