Skip to content

Commit

Permalink
Tried to fix permissions and added deploy pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 10, 2024
1 parent a5ffdff commit 819a05d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
needs: [build, test, doc-test, format-test]

permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

Expand All @@ -114,6 +115,18 @@ jobs:
- uses: actions/deploy-pages@v4
with:
path: doc/build/html

deploy-pypi:
needs: [deploy-pages]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
- run: pip install --user build
- run: python -m build --sdist --wheel .




0 comments on commit 819a05d

Please sign in to comment.