From 8ccb9333d7431aa4fe416c3420f39547189ac079 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sat, 27 Apr 2024 20:09:03 +0200 Subject: [PATCH] attempt #82983248935 --- .gitea/workflows/hugo.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/hugo.yaml b/.gitea/workflows/hugo.yaml index ed2f097..ba13ecb 100644 --- a/.gitea/workflows/hugo.yaml +++ b/.gitea/workflows/hugo.yaml @@ -54,6 +54,17 @@ jobs: target: /tmp/ overwrite: true + - name: Extract archive (test) + uses: https://github.com/appleboy/ssh-action@master + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USER }} + key: ${{ secrets.SSH_KEY }} + script: | + #rm -r ${{ WEB_DIR }}/*" + ls ${{ WEB_DIR }}/" + #rm /tmp/website.tar" + whoami - name: Extract archive uses: https://github.com/appleboy/ssh-action@master with: @@ -61,10 +72,10 @@ jobs: username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_KEY }} script: | - rm -r ${{ WEB_DIR }}/*" - tar -xvf /tmp/website.tar --directory ${{ WEB_DIR }}/" - rm /tmp/website.tar" - + #rm -r ${{ WEB_DIR }}/*" + #tar -xvf /tmp/website.tar --directory ${{ WEB_DIR }}/" + #rm /tmp/website.tar" + whoami # - name: Create release