22
.github/workflows/deploy-on-drift-common-update.yml
vendored
Normal file
22
.github/workflows/deploy-on-drift-common-update.yml
vendored
Normal file
@@ -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
|
||||||
Submodule drift-common updated: dee46bd75c...a143eea3b0
Reference in New Issue
Block a user