Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wansyu committed Sep 3, 2024
1 parent 75982e5 commit cb14177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
run: |
export LATEST_APP=$(wget -qO- https://api.github.com/repos/naiba/nezha/tags | gawk -F '["v]' '/name/{print "v"$5;exit}')
git clone -b $LATEST_APP https://github.com/naiba/nezha
rm pkg/geoip/geoip.db
wget -O pkg/geoip/geoip.db https://ipinfo.io/data/free/country.mmdb?token=${{secrets.IPINFO_TOKEN}}
rm nezha/pkg/geoip/geoip.db
wget -O nezha/pkg/geoip/geoip.db https://ipinfo.io/data/free/country.mmdb?token=${{secrets.IPINFO_TOKEN}}
cd nezha/cmd/dashboard
bash ../../../build.sh
Expand Down

0 comments on commit cb14177

Please sign in to comment.