mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-24 08:05:07 +08:00
chore: add passphrase testing
This commit is contained in:
parent
a5de8af6d5
commit
193fd4eaa9
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -37,3 +37,14 @@ jobs:
|
|||||||
source: "tests/a.txt,tests/b.txt"
|
source: "tests/a.txt,tests/b.txt"
|
||||||
target: "foobar"
|
target: "foobar"
|
||||||
strip_components: 1
|
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"
|
||||||
|
@ -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
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user