Skip to content

Commit

Permalink
ci: use --repo for gh cli & set GH_TOKEN (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Oct 6, 2024
1 parent 4621d9b commit b037ea0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: "actions/upload-pages-artifact@v3"
with:
path: "dist/"

- name: Upload CSS
uses: actions/upload-artifact@v4
with:
Expand All @@ -40,7 +40,7 @@ jobs:
- name: "Release"
id: "release"
uses: "googleapis/release-please-action@v4"

- name: Download CSS
uses: actions/download-artifact@v4
with:
Expand All @@ -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:
Expand Down

0 comments on commit b037ea0

Please sign in to comment.