Skip to content

Commit 4e4b04e

Browse files
committed
update action to use correct release
1 parent e189bb8 commit 4e4b04e

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,16 @@ jobs:
7070
- name: Create tag
7171
run: |
7272
git tag -a $CLI_VERSION -m "Update css and js for CDN"
73-
git push
73+
git push origin --tags
7474
env:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7676

7777
- name: Create Release
78-
id: create_release
79-
uses: actions/create-release@latest
8078
env:
8179
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82-
with:
83-
tag_name: "${{ env.CLI_VERSION }}"
84-
release_name: "${{ env.CLI_VERSION }}"
85-
draft: false
86-
prerelease: false
80+
tag: ${{ env.CLI_VERSION }}
81+
run: |
82+
gh release create "$tag" \
83+
--repo="$GITHUB_REPOSITORY" \
84+
--title="$tag" \
85+
--notes="CDN files updated to CLI version $tag"

0 commit comments

Comments
 (0)