secrets vergeten
This commit is contained in:
parent
b8bbdcd4f6
commit
ce1d74239a
@ -54,28 +54,16 @@ jobs:
|
||||
target: /tmp/
|
||||
overwrite: true
|
||||
|
||||
- name: Test
|
||||
run: echo "rm -r ${{ WEB_DIR }}"
|
||||
- name: Test
|
||||
run: echo "rm -r ${{ SSH_USER }}"
|
||||
- name: Test
|
||||
run: echo "rm -r ${{ SSH_USER }}/*"
|
||||
- name: Test
|
||||
run: echo "rm -r ${{ WEB_DIR }}/*"
|
||||
- name: Test
|
||||
run: echo "rm -r /*"
|
||||
- name: Test
|
||||
run: 'echo "test"'
|
||||
- name: Test
|
||||
run: echo "test"
|
||||
|
||||
- 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 }}/* && tar -xvf /tmp/website.tar --directory ${{ WEB_DIR }}/ && rm /tmp/website.tar
|
||||
script: |
|
||||
rm -r ${{ secrets.WEB_DIR }}/*
|
||||
tar -xvf /tmp/website.tar --directory ${{ secrets.WEB_DIR }}/
|
||||
rm /tmp/website.tar
|
||||
script: "rm -r ${{ WEB_DIR }}/*"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user