This commit is contained in:
parent
71188a3369
commit
3e77f7282a
@ -24,6 +24,10 @@ jobs:
|
||||
path: .
|
||||
fetch-depth: 0
|
||||
|
||||
- run: |
|
||||
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}' | uniq | xargs -I {} sh -c 'find {} -type f -name "__manifest__.py" | grep -q "__manifest__.py" && echo {}' 2>/dev/null | sed -z 's/\n/,/g; s/,$/\n/')
|
||||
echo $modules_to_update
|
||||
|
||||
- name: Deploy to main environment
|
||||
if: gitea.ref == 'refs/heads/dev'
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user