Skip to content

Update ruby/setup-ruby action to v1.196.0 (#181) #270

Update ruby/setup-ruby action to v1.196.0 (#181)

Update ruby/setup-ruby action to v1.196.0 (#181) #270

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup git user/email
run: |
git config --global user.name github-actions
git config --global user.email github-actions@github.com
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
ref: public
path: _site
- name: Setup Ruby
uses: ruby/setup-ruby@v1.196.0
# Runs a single command using the runners shell
- name: Run Jekyll build and deploy
run: |
COMMIT=`git rev-parse --short HEAD`
bundle install
bundle exec jekyll build
cd _site
touch .nojekyll
git add -A
git commit -m "Generated site at $COMMIT"
git push origin public