Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
nnym committed Oct 10, 2024
1 parent e5333d2 commit ec3f8ba
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: deploy

on:
push:
branches: ["a"]
branches: ["workflow"]
pull_request:
branches: ["a"]

Expand All @@ -26,10 +26,12 @@ jobs:
- run: pip install sphinx furo

- name: Generate
run: ./bs documentation
run: |
./bs documentation
mv .documentation/singlehtml .pages
- uses: actions/upload-pages-artifact@v3
with:
path: .web
path: .pages

- uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions bs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def build():

@task
def documentation(command = "singlehtml"):
rm(".web")
sh("sphinx-build -M", command, "web .web 2>&1")
rm(".documentation")
sh("sphinx-build -M", command, "documentation .documentation 2>&1")

@task(build)
def publish(): sh("twine upload -r pypi dist/*")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec3f8ba

Please sign in to comment.