From c5a586c4ca304f47a976b1ebbd81dd8e2feb8f3b Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Mon, 1 Jul 2024 15:17:52 -0300 Subject: [PATCH] Update hugo.yml Download artifact before syncing to Dreamhost --- .github/workflows/hugo.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 1c55335..914c845 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -84,6 +84,14 @@ jobs: - name: Add Dreamhost to known hosts run: ssh-keyscan ${{ secrets.DREAMHOST_HOST }} >> ~/.ssh/known_hosts + - name: Download artifact + uses: actions/download-artifact@v4 + with: + path: ./public + + - name: Display structure of downloaded files + run: ls -R + - name: Sync files to Dreamhost env: DREAMHOST_USER: ${{ secrets.DREAMHOST_USER }}