Attempt 2 at GitHub Actions for site deploy
This commit is contained in:
parent
d89f76ff46
commit
9bed72c18f
20
.github/workflows/ghpages.yml
vendored
20
.github/workflows/ghpages.yml
vendored
@ -8,14 +8,16 @@ jobs:
|
||||
runs-on: ubuntu-16.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v1
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
path: vendor/bundle
|
||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gems-
|
||||
- uses: helaili/jekyll-action@2.0.1
|
||||
env:
|
||||
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
|
||||
ruby-version: 2.6
|
||||
- uses: limjh16/jekyll-action-ts@v2
|
||||
with:
|
||||
jekyll_src: 'docs'
|
||||
enable_cache: true
|
||||
format_output: true
|
||||
jekyll_src: docs
|
||||
gem_src: docs
|
||||
- uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.JEKYLL_PAT }}
|
||||
publish_dir: ./docs/_site
|
Loading…
Reference in New Issue
Block a user