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 Jun 1, 2021
1 parent c77819c commit 2f537d0
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/generate_pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,22 @@ jobs:
uses: nanzm/[email protected]
with:
timeZone: 1
format: 'HH:mm'
format: 'HH-mm'

- name: Tag Repo
uses: richardsimko/update-tag@v1
with:
tag_name: "d${{ steps.date.outputs.time }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- 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 }}"
asset_name: "${{ steps.date.outputs.time }}_${{ steps.time.outputs.time }}_${{ github.event.repository.name }}.pdf"
tag: "d${{ steps.date.outputs.time }}"
release_name: "PDF @ ${{ steps.date.outputs.time }}"
overwrite: true
body: "Generated master.pdf @ ${{ steps.date.outputs.time }} ${{ steps.time.outputs.time }}."
body: "Generated master.pdf from ${{ steps.date.outputs.time }}."

0 comments on commit 2f537d0

Please sign in to comment.