mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 23:31:50 +02:00
Update generate_stargazer_map.yml
This commit is contained in:
6
.github/workflows/generate_stargazer_map.yml
vendored
6
.github/workflows/generate_stargazer_map.yml
vendored
@@ -23,8 +23,10 @@ jobs:
|
|||||||
sudo apt-get install -y gdal-bin
|
sudo apt-get install -y gdal-bin
|
||||||
pip install requests pandas geopandas matplotlib pycountry geopy
|
pip install requests pandas geopandas matplotlib pycountry geopy
|
||||||
|
|
||||||
- name: Download shapefile
|
- name: Download shapefile into .github
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p .github
|
||||||
|
cd .github
|
||||||
wget https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip
|
wget https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip
|
||||||
unzip -o ne_110m_admin_0_countries.zip
|
unzip -o ne_110m_admin_0_countries.zip
|
||||||
|
|
||||||
@@ -38,6 +40,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git add stargazers_countries.csv stargazer_map.png
|
git add .github/stargazers_countries.csv .github/stargazer_map.png
|
||||||
git commit -m "Update stargazer map and countries CSV" || echo "No changes to commit"
|
git commit -m "Update stargazer map and countries CSV" || echo "No changes to commit"
|
||||||
git push --force
|
git push --force
|
||||||
|
|||||||
Reference in New Issue
Block a user