-
Notifications
You must be signed in to change notification settings - Fork 362
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
89bcf89
commit a1d804d
Showing
1 changed file
with
1 addition
and
12 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 |
---|---|---|
|
@@ -29,24 +29,13 @@ jobs: | |
cd piu && yarn && yarn run update && cd .. | ||
cp piu/instances.toml morg/content/public-instances/instances.toml | ||
# Delete this step before merging to main | ||
- name: Commit and push data (within PR) | ||
run: | | ||
git config --global user.name "GitHub CI" | ||
git config --global user.email "[email protected]" | ||
git switch instance-picker | ||
git add content/public-instances/instances.toml | ||
git commit -m "Update instances.toml" | ||
git push | ||
working-directory: morg | ||
|
||
# Delete the if before merging to main | ||
- name: Commit and push data (scheduled) | ||
if: github.event_name == 'schedule' | ||
run: | | ||
git config --global user.name "GitHub CI" | ||
git config --global user.email "[email protected]" | ||
git add public-instances/instances.toml | ||
git add content/public-instances/instances.toml | ||
git commit -m "Update instances.toml" | ||
git push | ||
working-directory: morg |