Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Merge pull request #84 from tere92/master #48

Merge pull request #84 from tere92/master

Merge pull request #84 from tere92/master #48

# Continuous integration of jekyll site
name: Build website
on:
push:
branches: [ master ]
jobs:
Build-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true # run 'bundle install' and caches installed gems automatically
- name: Install jekyll
run: gem install jekyll
- name: Build website
run: |
JEKYLL_ENV=production bundle exec jekyll build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./_site