upload & download site content
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 2s
Build and Deploy Resume Site / push-content (push) Has been skipped

This commit is contained in:
shockrah 2024-09-03 16:12:56 -07:00
parent 6ed35f6762
commit a15f7576da

View File

@ -13,11 +13,13 @@ jobs:
- name: Checkout repository resources
uses: actions/checkout@v4
- name: Build website content
run: hugo && pwd && ls -Rl
run: hugo
- name: Upload artifacts for next job to use
uses: actions/upload-artifacts@v4
with:
name: site-content
name: site_content
path: public/
retention-days: 3
push-content:
needs: setup-website-content
@ -25,8 +27,9 @@ jobs:
container:
image: shockrah/hugo
steps:
- name: Check file content is present
- name: Download site content for upload
uses: actions/download-artifacts@v4
with:
name: site-content
path: public/
name: site_content
- name: Check file content is present
run: pwd && ls -lRt public/