Skip to content

Update ruby/setup-ruby action to v1.191.0 (#169) #258

Update ruby/setup-ruby action to v1.191.0 (#169)

Update ruby/setup-ruby action to v1.191.0 (#169) #258

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
ref: public
path: _site
- name: Setup Ruby
uses: ruby/setup-ruby@v1.191.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