mirror of
https://github.com/permissionlesstech/georelays.git
synced 2026-07-25 06:45:18 +00:00
feat: design cypherpunk IRC georelays dashboard for github.io
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
||||
- name: Check for changes
|
||||
id: git-check
|
||||
run: |
|
||||
git add assets/bitchat_relay_count_chart.png assets/total_relay_count_chart.png
|
||||
git add assets/bitchat_relay_count_chart.png assets/total_relay_count_chart.png assets/relay_history.json
|
||||
git diff --staged --exit-code || echo "changes=true" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Commit and push changes
|
||||
|
||||
@@ -51,6 +51,7 @@ jobs:
|
||||
- name: Update relay geolocation data
|
||||
run: |
|
||||
cat relay_discovery_results.json | jq .functioning_relays[] | ./filter_bitchat_relays.sh | sed 's|^wss://||' | python3 relays_geo_lookup.py nostr_relays.csv
|
||||
python3 scripts/geolocate_all_relays.py
|
||||
|
||||
- name: Check for changes
|
||||
id: git-check
|
||||
@@ -62,7 +63,7 @@ jobs:
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add relay_discovery_results.json nostr_relays.csv
|
||||
git add relay_discovery_results.json nostr_relays.csv all_relays_geo.csv
|
||||
git commit -m "Automated update of relay data - $(date -u)"
|
||||
git push
|
||||
env:
|
||||
@@ -75,4 +76,5 @@ jobs:
|
||||
path: |
|
||||
relay_discovery_results.json
|
||||
nostr_relays.csv
|
||||
all_relays_geo.csv
|
||||
retention-days: 30
|
||||
|
||||
Reference in New Issue
Block a user