diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index eb380b12..fca8a1f9 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -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' \ No newline at end of file + 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 \ No newline at end of file