Skip to content

Commit

Permalink
add dispatch receiver for drift-common update
Browse files Browse the repository at this point in the history
  • Loading branch information
wphan committed Oct 3, 2024
1 parent 5c6e4d5 commit 69f7f7d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy-on-drift-common-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy on drift-common update
on:
repository_dispatch:
types: [drift-common-update]

jobs:
update-submodules:
runs-on: ubicloud
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'

- name: Bump protocol sdk
run: |
git submodule update --remote
git config user.name "GitHub Actions"
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add drift-common
git commit --allow-empty -m "Bumping drift-common to ${{ github.event.client_payload.commit}}"
git push

0 comments on commit 69f7f7d

Please sign in to comment.