Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ApplebaumIan authored Aug 19, 2024
1 parent b159f56 commit 0c572c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- name: Determine Semester
id: semester
run: |
CURRENT_MONTH=$(date +%m)
CURRENT_MONTH=$(date +%-m)
CURRENT_YEAR=$(date +%Y)
if [[ "$CURRENT_MONTH" -ge 1 && "$CURRENT_MONTH" -le 5 ]]; then
SEMESTER="Spring"
SEMESTER="Spring"
elif [[ "$CURRENT_MONTH" -ge 8 && "$CURRENT_MONTH" -le 12 ]]; then
SEMESTER="Fall"
SEMESTER="Fall"
else
SEMESTER="Summer"
fi
SEMESTER="Summer"
fi
echo "SEMESTER_YEAR=${SEMESTER} ${CURRENT_YEAR}" >> $GITHUB_ENV
- name: Deploy
run: |
Expand Down

0 comments on commit 0c572c6

Please sign in to comment.