coalescing jobs into 1
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 5s

This commit is contained in:
shockrah 2024-09-03 16:18:19 -07:00
parent a15f7576da
commit 392d2e7dc9

View File

@ -14,22 +14,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build website content - name: Build website content
run: hugo run: hugo
- name: Upload artifacts for next job to use
uses: actions/upload-artifacts@v4
with:
name: site_content
path: public/
retention-days: 3
push-content:
needs: setup-website-content
runs-on: ubuntu-latest
container:
image: shockrah/hugo
steps:
- name: Download site content for upload
uses: actions/download-artifacts@v4
with:
name: site_content
- name: Check file content is present - name: Check file content is present
run: pwd && ls -lRt public/ run: pwd && ls -lRt public/
- name: Check if scp is available
run: scp --version