Merge pull request #36 from takumi0213/master #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
jobs: | |
gh-pages-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Ruby, JRuby and TruffleRuby | |
uses: ruby/setup-ruby@v1.128.0 | |
with: | |
ruby-version: '3.1.2' | |
- name: Install libvips | |
run: | | |
sudo apt install libvips | |
sudo apt install libvips-tools | |
- name: bundle install | |
run: | | |
bundle config set path 'vendor/bundle' | |
bundle install | |
- name: Jekyll Build | |
run: bundle exec jekyll build --trace | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site |