-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af1f1fb
commit e89758e
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,22 +28,20 @@ jobs: | |
- name: Run Python Script | ||
run: python asylex_automation.py | ||
|
||
- name: Commit and Push Changes UN Treaty | ||
- name: Commit Changes to UN Treaty bodies file | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add data/UNTrendyBodyAndRegionalOnes.json | ||
git commit -m "Updated UN Bodies data" | ||
if [[ `git status --porcelain` ]]; then | ||
git push origin main | ||
echo "INFO: File updated" | ||
else | ||
echo "INFO: No changes detected" | ||
fi | ||
- name: Commit and Push Changes Countries | ||
- name: Commit Changes to Countries geojson | ||
run: | | ||
git add data/countries_small_updated_Aug2023.geojson | ||
git commit -m "Updated countries data" | ||
- name: Push commits to repo | ||
run: | | ||
if [[ `git status --porcelain` ]]; then | ||
git push origin main | ||
echo "INFO: File updated" | ||
|