Skip to content

Commit

Permalink
Merge pull request #4 from creative-commoners/pulls/1.0/weekly
Browse files Browse the repository at this point in the history
FIX Use day of year instead of day of week
  • Loading branch information
GuySartorelli authored Jul 5, 2023
2 parents 49acaec + 1b96301 commit 1322ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ runs:
env:
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
# repository that has a twice-weekly schedule run on consequtive days - use day of week
date_part=$(date +%u)
# repository that has a twice-weekly schedule run on consecutive days - use day of year
date_part=$(date +%-j)
type=""
if [[ $GITHUB_REPOSITORY == "silverstripe/installer" ]] || \
[[ $GITHUB_REPOSITORY == "silverstripe/recipe-kitchen-sink" ]]
Expand Down

0 comments on commit 1322ccb

Please sign in to comment.