name: Build and Deploy Resume Site on: push: branches: - master jobs: setup-website-content: runs-on: ubuntu-latest container: image: shockrah/hugo steps: - name: Checkout repository resources uses: actions/checkout@v4 - name: Build website content 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 run: pwd && ls -lRt public/