ci: use `--repo` for `gh` cli & set `GH_TOKEN` (#43)
This commit is contained in:
parent
4621d9b46c
commit
b037ea025c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue