From e07e11540dfd85cc19cc5b2774ea90f3c825702e Mon Sep 17 00:00:00 2001 From: the1mason Date: Wed, 7 Feb 2024 15:15:06 +0000 Subject: [PATCH] Update .github/workflows/main.yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 733bec0..61b5f92 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,8 +27,12 @@ jobs: - name: Build run: hugo --minify + - name: Get the date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + - name: Archive production artifacts uses: actions/upload-artifact@v3 with: - name: website + name: site-${{ steps.date.outputs.date }} path: public/ \ No newline at end of file