From d8f2692f9ecdd368891a9c9a24d4b517d14d6505 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Thu, 18 Jun 2020 13:45:15 +0900 Subject: [PATCH] Bump peaceiris/actions-gh-pages from v2 to v3 --- .github/workflows/copy_to_pages.yaml | 9 ++++----- .github/workflows/nb2docs.yaml | 13 ++++++------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/copy_to_pages.yaml b/.github/workflows/copy_to_pages.yaml index 2823bd7..18bbbae 100644 --- a/.github/workflows/copy_to_pages.yaml +++ b/.github/workflows/copy_to_pages.yaml @@ -34,8 +34,7 @@ jobs: # only deploy upon a push to master - name: Deploy - uses: peaceiris/actions-gh-pages@v2 - env: - ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: ./docs/_site + uses: peaceiris/actions-gh-pages@v3 + with: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_dir: ./docs/_site diff --git a/.github/workflows/nb2docs.yaml b/.github/workflows/nb2docs.yaml index 80324fa..389d0f4 100644 --- a/.github/workflows/nb2docs.yaml +++ b/.github/workflows/nb2docs.yaml @@ -19,7 +19,7 @@ jobs: with: python-version: '3.6' architecture: 'x64' - + - name: Run notebook converter run: | chmod -R 777 docs/docs/reports @@ -36,15 +36,14 @@ jobs: cd docs rm -rf _site sudo chmod -R 777 . - + - name: Jekyll build uses: docker://jekyll/jekyll with: args: /bin/bash -c "cd docs; bundle install; bundle exec jekyll build" - name: Deploy - uses: peaceiris/actions-gh-pages@v2 - env: - ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - PUBLISH_DIR: ./docs/_site - PUBLISH_BRANCH: gh-pages + uses: peaceiris/actions-gh-pages@v3 + with: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_dir: ./docs/_site