fix link. #173
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
name: ci | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
env: | |
NOKOGIRI_USE_SYSTEM_LIBRARIES: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
lfs: true | |
fetch-depth: 0 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libcurl4-openssl-dev libxslt-dev libxml2-dev | |
- uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: '3.x' # Version range or exact version of a Ruby version to use, using semvers version range syntax. | |
- name: build | |
run: | | |
export LANG=en_US.UTF-8 | |
export JEKYLL_ENV=production | |
bundle install | |
bundle exec jekyll build --future --profile --trace --verbose | |
- name: deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site |