Skip to content

Commit

Permalink
Merge pull request #65 from loftwah/dl/ci-cd-lol
Browse files Browse the repository at this point in the history
handle more than one release lol
  • Loading branch information
loftwah authored Aug 29, 2024
2 parents 96d1706 + f56f48e commit 86365f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
# Remove unused images and containers
docker system prune -af
- name: Get current date
- name: Get current datetime
id: date
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
run: echo "DATETIME=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT

- name: Create Release
uses: elgohr/Github-Release-Action@v5
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
title: Release ${{ steps.date.outputs.DATE }}
tag: release-${{ steps.date.outputs.DATE }}
title: Release ${{ steps.date.outputs.DATETIME }}
tag: release-${{ steps.date.outputs.DATETIME }}

0 comments on commit 86365f3

Please sign in to comment.