This commit is contained in:
Dragan Filipovic 2022-12-30 15:59:05 +01:00
parent f67f2211cb
commit 4d8753359e

View File

@ -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"