From f56f48e9c7965622f87e5837f9f4cc8565a4274e Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Thu, 29 Aug 2024 10:06:14 +1000 Subject: [PATCH] handle more than one release lol --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1fe167e..be31f25 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }} \ No newline at end of file + title: Release ${{ steps.date.outputs.DATETIME }} + tag: release-${{ steps.date.outputs.DATETIME }}