ci: use GITHUB_TOKEN for deploying to GitHub

This commit is contained in:
bastimeyer 2022-05-02 06:52:58 +02:00 committed by back-to
parent b77cf7883e
commit bcd624c175
1 changed files with 3 additions and 1 deletions

View File

@ -124,6 +124,8 @@ jobs:
needs:
- deploy-documentation
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- uses: actions/checkout@v2
with:
@ -148,7 +150,7 @@ jobs:
run: ./script/build-and-sign.sh
- name: Github release
env:
RELEASES_API_KEY: ${{ secrets.RELEASES_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./script/github-release.py "${STREAMLINK_DIST_DIR}"/*.tar.gz{,.asc}
- name: PyPI release
env: