Merge pull request #298 from readchina/updates-to-publications #228
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: Build and deploy jekyll site | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
jekyll: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📂 setup | |
uses: actions/checkout@v3 | |
- name: 💎 setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
- name: 🔨 install dependencies & build site | |
uses: limjh16/jekyll-action-ts@v2 | |
with: | |
enable_cache: true | |
# format_output: true | |
- name: 🚀 deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site |