Automated update to contributors file. #336
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: Jekyll Deploy | |
on: | |
push: | |
branches: | |
- master | |
# Build site using jekyll | |
jobs: | |
jekyll: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout code | |
- uses: actions/checkout@v2 | |
# Use ruby/setup-ruby to shorten build times | |
# https://github.com/ruby/setup-ruby | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
# Install Node as this is needed for PostCSS | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
# Install PostCSS plugins (from your package.json) | |
- run: npm install | |
- name: Build site | |
# use jekyll-action-ts to build | |
# https://github.com/limjh16/jekyll-action-ts | |
uses: limjh16/jekyll-action-ts@v2 | |
with: | |
enable_cache: true | |
custom_opts: JEKYLL_ENV=production' | |
### If you need to specify any Jekyll build options, enable the above input | |
### Flags accepted can be found here https://jekyllrb.com/docs/configuration/options/#build-command-options | |
# use actions-gh-pages to deploy | |
# https://github.com/peaceiris/actions-gh-pages | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
# GITHUB_TOKEN secret is set up automatically | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site | |
cname: mathesar.org |