From b037ea025ce673636523e985a60c3fa299495deb Mon Sep 17 00:00:00 2001 From: Hammy <58985301+sgoudham@users.noreply.github.com> Date: Sun, 6 Oct 2024 19:33:13 +0100 Subject: [PATCH] ci: use `--repo` for `gh` cli & set `GH_TOKEN` (#43) --- .github/workflows/release-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index f681563..a9062d6 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -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: