Skip to content

Commit

Permalink
Update generate_pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
V3lop5 authored Feb 14, 2021
1 parent acb51c8 commit 14e4725
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/generate_pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,14 @@ jobs:
with:
timeZone: 1
format: 'YYYY-MM-DD'

- name: Get current time
id: time
uses: nanzm/get-time-action@v1.1
with:
timeZone: 1
format: 'HH:mm'

- name: Upload master.pdf as release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: master.pdf
asset_name: "${{ steps.date.outputs.time }}_${{ github.event.repository.name }}.pdf"
tag: ${{ github.ref }}
release_name: "Release ${{ steps.date.outputs.time }} at ${{ steps.time.outputs.time }}"
tag: ${{ steps.date.outputs.time }}
release_name: "Release ${{ steps.date.outputs.time }}"
overwrite: true
body: "Generated master.pdf @ ${{ steps.date.outputs.time }} ${{ steps.time.outputs.time }}."
body: "Generated master.pdf on ${{ steps.date.outputs.time }}. Will contain the latest version of this day. I'm pretty sure"

0 comments on commit 14e4725

Please sign in to comment.