Skip to content

Commit

Permalink
Action File
Browse files Browse the repository at this point in the history
  • Loading branch information
matc-thaher committed Feb 8, 2025
1 parent 39e8c10 commit a5a7689
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions 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 a5a7689

Please sign in to comment.