Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yuta0306 committed Jun 30, 2023
1 parent b333017 commit 7610fa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: gh-pages
on:
workflow_dispatch:
push:
branches:
- main

jobs:
release:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down Expand Up @@ -61,13 +59,3 @@ jobs:
asset_path: ${{ env.ARTIFACT_PATHNAME }}
asset_name: ${{ env.ARTIFACT_NAME }}
asset_content_type: application/x-wheel+zip

- name: Build docs
run: |
poetry install
poetry run sphinx-build ./docs ./docs/_build
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build

0 comments on commit 7610fa2

Please sign in to comment.