CI: correct automatic mach-examples updates
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3d0a21c274
commit
06b93b9556
1 changed files with 4 additions and 5 deletions
9
.github/workflows/update_examples.yml
vendored
9
.github/workflows/update_examples.yml
vendored
|
|
@ -1,9 +1,8 @@
|
||||||
name: Update examples
|
name: Update examples
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["CI"]
|
branches:
|
||||||
types:
|
- "main"
|
||||||
- completed
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
@ -21,7 +20,7 @@ jobs:
|
||||||
- name: 'mach-examples: update mach submodule'
|
- name: 'mach-examples: update mach submodule'
|
||||||
run: |
|
run: |
|
||||||
cd libs/mach
|
cd libs/mach
|
||||||
git pull
|
git checkout origin/main
|
||||||
cd ../../
|
cd ../../
|
||||||
- name: 'mach-examples: push submodule update'
|
- name: 'mach-examples: push submodule update'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue