forked from btccom/Blockchain-Known-Pools
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
1 changed file
with
9 additions
and
3 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 |
---|---|---|
|
@@ -23,17 +23,23 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "bitcoin-data" | ||
- name: Generate files | ||
- name: Generate mainnet files | ||
run: | | ||
python3 contrib/generate-json-pool-list.py new-$FILENAME_POOL_LIST | ||
python3 contrib/generate-old-pools-json.py new-$FILENAME_POOLS_JSON | ||
- name: Generate signet files | ||
run: | | ||
python3 contrib/generate-json-pool-list.py new-signet-$FILENAME_POOL_LIST signet-pools/ | ||
python3 contrib/generate-old-pools-json.py new-signet-$FILENAME_POOLS_JSON signet-pools/ | ||
- name: Checkout 'generated' branch | ||
run: | ||
git checkout generated | ||
- name: Overwrite old files | ||
run: | | ||
mv new-$FILENAME_POOL_LIST $FILENAME_POOL_LIST | ||
mv new-$FILENAME_POOLS_JSON $FILENAME_POOLS_JSON | ||
mv new-$FILENAME_POOL_LIST $FILENAME_POOL_LIST | ||
mv new-$FILENAME_POOLS_JSON $FILENAME_POOLS_JSON | ||
mv new-signet-$FILENAME_POOL_LIST signet-$FILENAME_POOL_LIST | ||
mv new-signet-$FILENAME_POOLS_JSON signet-$FILENAME_POOLS_JSON | ||
- name: Commit changes | ||
run: | | ||
git add *.json | ||
|