Skip to content

Commit

Permalink
test another comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
drmowinckels committed Jan 1, 2025
1 parent 586d4ca commit 9276476
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
one_day_ago=$(date -d "-1 days" +%Y%m%d)
post_date=$(date -d "${post_date}" +%Y%m%d)
echo "${post_date} < ${one_day_ago}"
echo "ANNOUNCE=false" >> $GITHUB_OUTPUT
if [ "${post_date}" -lt "${one_day_ago}" ]; then
if [ "${post_date}" -gt "${one_day_ago}" ]; then
echo "ANNOUNCE=true" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 9276476

Please sign in to comment.