This commit is contained in:
1 parent
a15f7576da
commit
392d2e7dc9
1 file changed
+2
-17
@@ -14,22 +14,7 @@ jobs:
|
||||
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/
|
||||
- name: Check if scp is available
|
||||
run: scp --version
|
||||
Reference in new issue
Block a user