Skip to content

Commit 1b463d8

Browse files
authored
actions fixes (#78)
1 parent 4c229b2 commit 1b463d8

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/publish-release.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,21 @@ jobs:
6161
${{ runner.os }}-build
6262
${{ runner.os }}-
6363
64-
# publish-pypi:
65-
# runs-on: ubuntu-latest
66-
# needs: [build-source]
67-
# steps:
68-
# - uses: pypa/gh-action-pypi-publish@release/v1
69-
# with:
70-
# user: __token__
71-
# password: ${{ secrets.PYPI_API_TOKEN }}
72-
#
73-
# publish-gh-pages:
74-
# runs-on: ubuntu-latest
75-
# needs: [build-docs]
76-
# uses: crazy-max/ghaction-github-pages@v2
77-
# with:
78-
# target_branch: gh-pages
79-
# build_dir: docs/build/html
80-
# env:
81-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
publish-pypi:
65+
runs-on: ubuntu-latest
66+
needs: [build-source]
67+
steps:
68+
- uses: pypa/gh-action-pypi-publish@release/v1
69+
with:
70+
user: __token__
71+
password: ${{ secrets.PYPI_API_TOKEN }}
72+
73+
publish-gh-pages:
74+
needs: [build-docs]
75+
steps:
76+
- uses: crazy-max/ghaction-github-pages@v2
77+
with:
78+
target_branch: gh-pages
79+
build_dir: docs/build/html
80+
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)