diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ff7fc9c..fba74c3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: |