ci: use `--repo` for `gh` cli & set `GH_TOKEN` (#43)

This commit is contained in:
Hammy 2024-10-06 19:33:13 +01:00 committed by GitHub
parent 4621d9b46c
commit b037ea025c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ jobs:
uses: "actions/upload-pages-artifact@v3"
with:
path: "dist/"
- name: Upload CSS
uses: actions/upload-artifact@v4
with:
@ -40,7 +40,7 @@ jobs:
- name: "Release"
id: "release"
uses: "googleapis/release-please-action@v4"
- name: Download CSS
uses: actions/download-artifact@v4
with:
@ -54,8 +54,8 @@ jobs:
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz --repo $GITHUB_REPOSITORY
deploy: