Skip to content

Commit

Permalink
docs: secret passing
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 6, 2024
1 parent 0a163fc commit c4eb61a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
# NOTE: This also serves as a test for the action.
- name: Ape Docs
uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,4 @@ runs:
with:
branch: gh-pages
directory: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ inputs.github-token }}
1 change: 0 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ def test_build_from_pr(runner, cli):
result = runner.invoke(cli, ("build", ".", "--mode", "pull_request"))
assert result.exit_code == 0
assert "Building 'sphinx-ape' 'LATEST'" in result.output

0 comments on commit c4eb61a

Please sign in to comment.