Skip to content

Commit

Permalink
fix: timezone in course-work-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeryVerkhoturov authored Jul 31, 2023
1 parent bdee7e2 commit 26bbfdf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/course-work-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- 'course-work/**'
- '.github/workflows/course-work-deploy.yml'

env:
TZ: Europe/Moscow

jobs:
course-work-deploy:
runs-on: ubuntu-latest
Expand All @@ -18,7 +15,7 @@ jobs:
uses: josStorer/get-current-time@v2
id: current-time
with:
format: YYYYMMDD-HH
format: YYYY-MM-DD-HH:mm
utcOffset: "+03:00"
timezone: "Europe/Moscow"
- name: Checkout code
Expand All @@ -29,5 +26,5 @@ jobs:
credentials: ${{ secrets.DRIVE_CREDENTIALS }}
filename: course-work/course-work.pdf
folderId: ${{ secrets.DRIVE_FOLDER_ID }}
name: ${{ steps.current-time.outputs.time }}-sha-${{ github.sha }}.pdf
name: ${{ steps.current-time.outputs.formattedTime }}-sha-${{ github.sha }}.pdf
overwrite: "true"

0 comments on commit 26bbfdf

Please sign in to comment.