From 763dcdd1d0d79a479fa754a78f64bce2e7a0ccaa Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Mon, 30 Mar 2026 22:36:05 +0200 Subject: [PATCH] CI fix tentative #17 --- .forgejo/workflows/deploy.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 1d625b3..01fb4d1 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -68,7 +68,7 @@ jobs: pnpm run build - name: Save the result for deployment - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: build-${{ matrix.site }} path: "source/dist/" @@ -77,7 +77,8 @@ jobs: needs: build runs-on: docker strategy: - matrix: *site_matrix + include: *site_matrix + steps: - name: Setup SSH env: @@ -87,6 +88,13 @@ jobs: echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan -p ${{ secrets.SERVER_PORT }} -H ${{ secrets.SERVER_IP }} >> ~/.ssh/known_hosts + + - name: Download Artifact + uses: actions/download-artifact@v3 + with: + name: build-${{ matrix.site }} + path: ./dist + - name: Push run: | rsync -avz -e "ssh -p ${{ secrets.SERVER_PORT }}" --delete ./dist/ ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:${{ matrix.dest }}