Skip to content

Commit

Permalink
update deploy-on-sdk-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wphan committed Oct 3, 2024
1 parent 9aa2c48 commit ddca815
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy-on-sdk-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:

- name: Bump protocol sdk
run: |
cd protocol
git pull --rebase origin master
cd ..
git submodule update --remote
git config user.name "GitHub Actions"
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add protocol
git commit --allow-empty -m "Bumping protocol sdk to ${{ github.event.client_payload.sdk-version }}"
git commit --allow-empty -m "Bumping protocol sdk to ${{ github.event.client_payload.version }}"
git push
- name: Get latest commit hash
Expand Down Expand Up @@ -56,4 +54,4 @@ jobs:
}}"
env:
GH_PAT: ${{ secrets.GH_PAT }}
VERSION: ${{ github.event.client_payload.sdk-version }}
VERSION: ${{ github.event.client_payload.version }}

0 comments on commit ddca815

Please sign in to comment.