Skip to content

Commit

Permalink
Clean up verion.txt generation
Browse files Browse the repository at this point in the history
  • Loading branch information
norwd authored Oct 17, 2024
1 parent 95d8490 commit 13837b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ jobs:
- name: "Generate a version.txt file"
run: |
tee version.txt << EOF
Deployed By: @${{ github.triggering_actor }}
Deployed At: $(date --universal +'%FT%TZ')
Deployment Version: v0.0.${{ github.run_number }}.${{ github.run_attempt }}
Source Version: ${{github.server_url }}/${{ github.repository }}/tree/$(echo "${{ github.sha }}" | head -c 7) (${{ github.ref }})
Deployed: $(date --universal +'%FT%TZ')
Version: v0.0.${{ github.run_number }}.$((${{ github.run_attempt }} - 1))
Source: ${{github.server_url }}/${{ github.repository }}/tree/$(echo "${{ github.sha }}" | head -c 7)
EOF
- name: "Generate a sitemap.txt file"
Expand Down

0 comments on commit 13837b4

Please sign in to comment.