Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Aug 29, 2024
1 parent bd3c4fa commit 6e7e4ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
publish-pypi:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'monosans' }}
if: ${{ github.repository_owner == 'djlint' }}
# permissions:
# id-token: write
steps:
Expand All @@ -17,10 +17,9 @@ jobs:
password: ${{ secrets.PYPI_API_TOKEN }}
publish-npm:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'monosans' }}
if: ${{ github.repository_owner == 'djlint' }}
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6e7e4ed

Please sign in to comment.