mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-12 13:48:07 +00:00
test ssh
This commit is contained in:
parent
f67f2211cb
commit
4d8753359e
9
.github/workflows/e2e.yml
vendored
9
.github/workflows/e2e.yml
vendored
@ -53,11 +53,18 @@ jobs:
|
||||
date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html
|
||||
cat index.html
|
||||
|
||||
- name: e2e Test ssh
|
||||
run: |
|
||||
ssh ${{ env.REMOTE_USER }}@${{ env.REMOTE_HOST }}
|
||||
env:
|
||||
REMOTE_HOST: ${{ env.EXAMPLE_REMOTE_HOST }}
|
||||
REMOTE_USER: ${{ env.TEST_USER }}
|
||||
|
||||
- name: e2e Test local ssh-deploy action
|
||||
run: |
|
||||
npm ci
|
||||
npm run build
|
||||
node ./src/index.js
|
||||
node ./src/index.js || true
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ env.EXAMPLE_SSH_PRIVATE_KEY }}
|
||||
ARGS: "-rltgoDzvO"
|
||||
|
Loading…
Reference in New Issue
Block a user