diff --git a/.github/workflows/updateDb.yaml b/.github/workflows/updateDb.yaml index 179a981d5..6966ed2cb 100644 --- a/.github/workflows/updateDb.yaml +++ b/.github/workflows/updateDb.yaml @@ -52,6 +52,8 @@ jobs: git add necto_db.db git commit -m "Updated necto database with latest merged release." git push + curl --location --request POST '${{ secrets.ERP_DB_IMPORT_API }}' \ + --header 'Authorization: Basic ${{ secrets.ERP_DB_IMPORT_KEY }}' else echo "No changes made to necto_db.db"; fi diff --git a/.github/workflows/updateDbFromSdk.yaml b/.github/workflows/updateDbFromSdk.yaml index ac4645259..4ca4c950c 100644 --- a/.github/workflows/updateDbFromSdk.yaml +++ b/.github/workflows/updateDbFromSdk.yaml @@ -64,6 +64,8 @@ jobs: git add $DB_NAME git commit -m "Updated $DB_NAME with latest merged release." git push + curl --location --request POST '${{ secrets.ERP_DB_IMPORT_API }}' \ + --header 'Authorization: Basic ${{ secrets.ERP_DB_IMPORT_KEY }}' fi - name: Run Index Script