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