Skip to content

Commit

Permalink
fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Dec 16, 2023
1 parent 09c4ffc commit 9db8a2e
Showing 1 changed file with 16 additions and 22 deletions.
38 changes: 16 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,25 +101,19 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}


- name: Publish package
uses: pypa/gh-action-pypi-publish@27a0a2a
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
repository_url: https://upload.pypi.org/legacy/
build_dir: ./dist

- name: Publish documentation
uses: maxheld83/ghpages@v0.2.1
with:
build_dir: docs/_build/html
target_branch: gh-pages
committer_name: "GitHub Actions"
committer_email: "jermiahjoseph98@gmail.com"

- name: Publish package
uses: pypa/gh-action-pypi-publish@27a0a2a
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
repository_url: https://upload.pypi.org/legacy/
build_dir: ./dist

- name: Publish documentation
uses: maxheld83/ghpages@v0.2.1
with:
build_dir: docs/_build/html
target_branch: gh-pages
committer_name: "GitHub Actions"
committer_email: "jermiahjoseph98@gmail.com"

0 comments on commit 9db8a2e

Please sign in to comment.