attempt #82983248935
All checks were successful
/ deploy (push) Successful in 47s

This commit is contained in:
Mans Ziesel 2024-04-27 20:09:03 +02:00
parent 909be5661c
commit 8ccb9333d7

View File

@ -54,6 +54,17 @@ jobs:
target: /tmp/ target: /tmp/
overwrite: true 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 - name: Extract archive
uses: https://github.com/appleboy/ssh-action@master uses: https://github.com/appleboy/ssh-action@master
with: with:
@ -61,10 +72,10 @@ jobs:
username: ${{ secrets.SSH_USER }} username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
script: | script: |
rm -r ${{ WEB_DIR }}/*" #rm -r ${{ WEB_DIR }}/*"
tar -xvf /tmp/website.tar --directory ${{ WEB_DIR }}/" #tar -xvf /tmp/website.tar --directory ${{ WEB_DIR }}/"
rm /tmp/website.tar" #rm /tmp/website.tar"
whoami
# - name: Create release # - name: Create release