Update .github/workflows/main.yml
Build and Publish Artifact / build (push) Successful in 37s Details

This commit is contained in:
the1mason 2024-02-07 15:15:06 +00:00
parent 25f931d30a
commit e07e11540d
1 changed files with 5 additions and 1 deletions

View File

@ -27,8 +27,12 @@ jobs:
- name: Build - name: Build
run: hugo --minify run: hugo --minify
- name: Get the date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Archive production artifacts - name: Archive production artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: website name: site-${{ steps.date.outputs.date }}
path: public/ path: public/