Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Sep 12, 2024
1 parent 910514c commit 4e95ba3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/updateDb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/updateDbFromSdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e95ba3

Please sign in to comment.