Skip to content

Commit 21b828f

Browse files
authored
Update update-embedded-player.yml
small fix
1 parent 2e64a72 commit 21b828f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-embedded-player.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
- name: Update @antmedia/web_player
1919
working-directory: ./embedded-player
2020
run: |
21-
OLD_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
21+
OLD_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
2222
npm install --save @antmedia/web_player@latest
23-
NEW_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
23+
NEW_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
2424
echo "OLD_EMBEDDED_PLAYER_VERSION=$OLD_EMBEDDED_PLAYER_VERSION" >> $GITHUB_ENV
2525
echo "NEW_EMBEDDED_PLAYER_VERSION=$NEW_EMBEDDED_PLAYER_VERSION" >> $GITHUB_ENV
2626
@@ -41,6 +41,6 @@ jobs:
4141
body: |
4242
This PR updates the @antmedia/web_player dependency from ${{ env.OLD_EMBEDDED_PLAYER_VERSION }} to ${{ env.NEW_EMBEDDED_PLAYER_VERSION }}.
4343
44-
Triggered by webhook from npm package update.
44+
Triggered by publish-release.yml from web player repo.
4545
branch: update-antmedia-web-player-${{ env.NEW_EMBEDDED_PLAYER_VERSION }}
4646
delete-branch: true

0 commit comments

Comments
 (0)