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

View file

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