Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lyj0309 authored Dec 19, 2024
1 parent 41cdc85 commit 61501db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- run: |
n=`date -d "1 day ago" "+%Y-%m-%d"`
l=`wget -qd -t1 -T2 "https://api.github.com/repos/naiba/nezha/releases/latest" | jq -r ".published_at"`
l=$(wget -qO- -t1 -T2 "https://api.github.com/repos/naiba/nezha/releases/latest" | jq -r ".published_at")
if [[ $l =~ $n ]]
then
echo "new_release=yes" >> $GITHUB_ENV
Expand Down

0 comments on commit 61501db

Please sign in to comment.