Skip to content

Commit

Permalink
Update release name
Browse files Browse the repository at this point in the history
  • Loading branch information
hepplerj authored Nov 20, 2024
1 parent fa1a2d4 commit bd081f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ jobs:
run: hugo --minify
- name: Create Archive
run: tar -czf site.tar.gz public/
- name: Get current time
id: time
run: echo "timestamp=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: release-${{ github.sha }}
release_name: Release ${{ github.sha }}
tag_name: release-${{ steps.time.outputs.timestamp }}
release_name: Release ${{ steps.time.outputs.timestamp }}
draft: false
prerelease: false
- name: Upload Release Asset
Expand Down

0 comments on commit bd081f0

Please sign in to comment.