diff --git a/.gitea/workflows/workflows.yaml b/.gitea/workflows/workflows.yaml index 3e12c44..729a850 100644 --- a/.gitea/workflows/workflows.yaml +++ b/.gitea/workflows/workflows.yaml @@ -12,9 +12,6 @@ jobs: update: runs-on: ubuntu-22.04 steps: - - run: | - modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}') - - name: Setup correct time in build container run: ln -sf /usr/share/zoneinfo/Asia/Tbilisi /etc/localtime @@ -27,8 +24,9 @@ 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/') + - name: Testing + run: | + modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}') echo $modules_to_update - name: Deploy to main environment