chore: add passphrase testing

This commit is contained in:
Bo-Yi Wu 2020-01-20 22:51:17 +08:00
parent a5de8af6d5
commit 193fd4eaa9
2 changed files with 12 additions and 1 deletions

View file

@ -37,3 +37,14 @@ jobs:
source: "tests/a.txt,tests/b.txt"
target: "foobar"
strip_components: 1
- name: ssh key with passphrase
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH2 }}
passphrase: ${{ secrets.PASSPHRASE }}
port: ${{ secrets.PORT }}
source: "tests/a.txt,tests/b.txt"
target: "test"

View file

@ -1,4 +1,4 @@
FROM appleboy/drone-scp:1.5.4-linux-amd64
FROM appleboy/drone-scp:1.5.5-linux-amd64
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh