Skip to content

Commit

Permalink
Re-add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matc-thaher committed Feb 9, 2025
1 parent 8b7c609 commit f7c64de
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Jekyll Website # No typos here

on:
push:
branches:
- main # Change if using a different branch

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0' # Change if needed

- name: Install Jekyll dependencies
run: |
gem install bundler
bundle install
- name: Build Jekyll site
run: bundle exec jekyll build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site

0 comments on commit f7c64de

Please sign in to comment.