mirror of
https://github.com/easingthemes/ssh-deploy
synced 2025-01-15 04:10:58 +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
|
date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html
|
||||||
cat 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
|
- name: e2e Test local ssh-deploy action
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
node ./src/index.js
|
node ./src/index.js || true
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ env.EXAMPLE_SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ env.EXAMPLE_SSH_PRIVATE_KEY }}
|
||||||
ARGS: "-rltgoDzvO"
|
ARGS: "-rltgoDzvO"
|
||||||
|
Loading…
Reference in New Issue
Block a user