Skip to content

Commit

Permalink
DEV: switch to github_token authentication in docs.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
qchempku2017 committed Sep 21, 2023
1 parent 7ab78a3 commit 589c13c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install pandoc
run: sudo apt-get install pandoc
Expand All @@ -29,5 +29,5 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs_build
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
max-parallel: 6

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ jobs:
needs: test
uses: ./.github/workflows/build.yml

release-docs:
docs:
needs: test
uses: ./.github/workflows/docs.yml
secrets: inherit

release-pypi:
needs: [build, docs]
needs: [build]
runs-on: ubuntu-latest
if: github.event.inputs.release-pypi == 'true'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-precommit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
auto-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 589c13c

Please sign in to comment.