2021-03-11 03:30:47 +00:00
|
|
|
name: GitHub Pages Deploy
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
2021-03-11 03:37:19 +00:00
|
|
|
deploy:
|
2021-03-11 03:30:47 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Ruby
|
|
|
|
uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
ruby-version: '3.0'
|
|
|
|
bundler-cache: true
|
|
|
|
- name: Build site
|
|
|
|
run: bundle exec rake build
|
|
|
|
- name: Deploy
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
2021-03-13 00:18:16 +00:00
|
|
|
publish_dir: ./_site
|
|
|
|
cname: digitalgarden.hypha.coop
|