Update .github/workflows/main.yml
Build and Publish Artifact / build (push) Successful in 37s
Details
Build and Publish Artifact / build (push) Successful in 37s
Details
This commit is contained in:
parent
25f931d30a
commit
e07e11540d
|
|
@ -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/
|
||||
Loading…
Reference in New Issue