Skip to content

Merge pull request #4 from oprojects/dependabot/github_actions/action… #14

Merge pull request #4 from oprojects/dependabot/github_actions/action…

Merge pull request #4 from oprojects/dependabot/github_actions/action… #14

Workflow file for this run

name: Build and deploy
on:
push:
branches: [ master ]
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Install dependencies
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Build site
run: bundle exec jekyll build --verbose
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'