Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Bump peaceiris/actions-gh-pages from v2 to v3 #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/copy_to_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 6 additions & 7 deletions .github/workflows/nb2docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
python-version: '3.6'
architecture: 'x64'

- name: Run notebook converter
run: |
chmod -R 777 docs/docs/reports
Expand All @@ -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