Skip to content

Update ruby/setup-ruby action to v1.201.0 (#190) #277

Update ruby/setup-ruby action to v1.201.0 (#190)

Update ruby/setup-ruby action to v1.201.0 (#190) #277

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 [email protected]
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: public
path: _site
- name: Setup Ruby
uses: ruby/[email protected]
# 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