Skip to content

Commit 4921d70

Browse files
fix(ci): fix auth command
1 parent bef3467 commit 4921d70

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/actions/publish-npm/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ runs:
6666
git remote set-url origin https://${GH_TOKEN}:[email protected]/ionic-team/ionicons.git
6767
git remote -v
6868
git push origin main --tags
69-
gh auth login --with-token ${{ inputs.ghToken }}
69+
gh auth login --with-token $GH_TOKEN
7070
gh release create "v$VERSION" --title "v$VERSION" --generate-notes
7171
shell: bash
7272
env:
73-
GH_TOKEN: ${{ inputs.ghToken }}
73+
GH_TOKEN: ${{ inputs.ghToken }}
74+
VERSION: ${{ env.VERSION }}

0 commit comments

Comments
 (0)