Add ssh script execution option

This commit is contained in:
Dragan Filipovic 2023-01-01 14:06:43 +01:00
parent 40f855a08b
commit 28bda61b75
4 changed files with 10 additions and 3 deletions

View file

@ -55,8 +55,8 @@ jobs:
cat index.html
- name: e2e Test published ssh-deploy action
uses: easingthemes/ssh-deploy@main
env:
uses: easingthemes/ssh-deploy@v3.1.0
with:
# SSH_PRIVATE_KEY: $EXAMPLE_SSH_PRIVATE_KEY
# REMOTE_HOST: $EXAMPLE_REMOTE_HOST1
REMOTE_USER: ${{ env.TEST_USER }}
@ -64,3 +64,6 @@ jobs:
SOURCE: "test_project/"
TARGET: "/var/www/html/"
EXCLUDE: "/dist/, /node_modules/"
SCRIPT: |
whoami
ls -al