-
Notifications
You must be signed in to change notification settings - Fork 1
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
Borbála Farkas
authored and
Borbála Farkas
committed
Sep 20, 2024
1 parent
39572f2
commit 3557d00
Showing
1 changed file
with
5 additions
and
11 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 |
---|---|---|
|
@@ -30,17 +30,11 @@ jobs: | |
- name: Clone viewsforecasting repository | ||
run: | | ||
cd views_pipeline | ||
git clone https://github.com/prio-data/viewsforecasting.git ../viewsforecasting | ||
git status | ||
# TODO: this step should be removed when merged to main | ||
- name: Checkout github_workflows branch in viewsforecasting | ||
run: | | ||
cd ../viewsforecasting | ||
git status | ||
git checkout github_workflows | ||
git clone https://github.com/prio-data/viewsforecasting.git | ||
cd viewsforecasting | ||
git status | ||
git checkout github_workflows | ||
# TODO: git checkout github_workflows should be removed when merged to main | ||
|
||
- name: Run Python script | ||
run: | | ||
|
@@ -58,7 +52,7 @@ jobs: | |
cd views_pipeline | ||
git status | ||
git add documentation/catalogs/cm_model_catalog.md | ||
git commit -m "Automated changes by GitHub Actions" | ||
git commit -m "Automated changes by GitHub Actions" || echo "Nothing to commit" | ||
git push https://${{ secrets.VIEWS_PIPELINE_ACCESS_TOKEN }}:[email protected]/prio-data/views_pipeline.git create_cm_catalog_01 | ||
|