Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Added secret token to workflow
  • Loading branch information
rhamenator authored Oct 2, 2024
1 parent d860652 commit f8cba0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.WRITE_PACKAGES }}
with:
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }}
Expand All @@ -92,7 +92,7 @@ jobs:
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.WRITE_PACKAGES }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/*
Expand Down

0 comments on commit f8cba0e

Please sign in to comment.