Skip to content

Commit

Permalink
Do not use secret
Browse files Browse the repository at this point in the history
  • Loading branch information
HideakiImamura committed May 27, 2024
1 parent 2cb628e commit fd2960e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@ jobs:
with:
python-version: 3.11
- name: Install
env:
SECRET_GITHUB_TOKEN: ${{ secrets.SECRET_GITHUB_TOKEN }}
run: |
python -m pip install -U pip
pip install --progress-bar off .
pip install --progress-bar off PyGitHub
pip install --progress-bar off git+https://${SECRET_GITHUB_TOKEN}@github.com/optuna/optunahub.git
pip install --progress-bar off git+https://github.com/optuna/optunahub.git
pip install --progress-bar off ".[docs]"
- name: Build
env:
SECRET_GITHUB_TOKEN: ${{ secrets.SECRET_GITHUB_TOKEN }}
OPTUNAHUB_NO_ANALYTICS: 1
run: |
cd docs
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ docs = [
"sphinx-gallery",
"matplotlib",
"optuna",
# "optunahub",
"optunahub",
]

[project.urls]
Expand Down

0 comments on commit fd2960e

Please sign in to comment.