Skip to content

Commit

Permalink
Update stage-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GoliathLabs authored Jan 5, 2025
1 parent ca3dbe3 commit eb32f56
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/stage-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
name: Build
on: [pull_request, push]

on:
pull_request:
push:

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
- name: Checkout Repository
uses: actions/checkout@v4

- uses: actions/cache@v4.2.0
- name: Set up Ruby environment
uses: ruby/setup-ruby@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: lemonarc/jekyll-action@1.0.0
ruby-version: '3.2'
bundler-cache: true # Enables caching for Bundler

- name: Install dependencies
run: bundle install --jobs 4 --retry 3

- name: Build Jekyll site
run: bundle exec jekyll build

0 comments on commit eb32f56

Please sign in to comment.