Skip to content

Commit

Permalink
BREAKING CHANGE: Update inputs for multi src and pattern args
Browse files Browse the repository at this point in the history
  • Loading branch information
easingthemes committed Jan 2, 2023
1 parent bfa025c commit 98ee38d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: e2e Test

on:
push:
branches: [ 'main' ]
branches: [ 'feature/multi-src' ]
workflow_dispatch:
inputs:
ARGS:
Expand Down Expand Up @@ -63,6 +63,9 @@ jobs:

- name: Create project file
run: |
mkdir test_project2 && cd "$_"
truncate -s 5MB info2.txt
cd ../
mkdir test_project && cd "$_"
touch index.html
date +"%Y-%m-%d %H:%M:%S,%3N" >> index.html
Expand All @@ -77,15 +80,15 @@ jobs:
echo "skip_dir:" && ls -l skip_dir
- name: e2e Test published ssh-deploy action
uses: easingthemes/ssh-deploy@main
uses: easingthemes/ssh-deploy@feature/multi-src
env:
# ENV Vars created in previous steps:
# SSH_PRIVATE_KEY: $EXAMPLE_SSH_PRIVATE_KEY
# REMOTE_HOST: $EXAMPLE_REMOTE_HOST
REMOTE_USER: ${{ env.TEST_USER }}
ARGS: ${{ github.event.inputs.ARGS || '-rltgoDzvO --delete --chmod=ugo=rwX --progress' }}
SSH_CMD_ARGS: ${{ github.event.inputs.SSH_CMD_ARGS || '-o StrictHostKeyChecking=no, -o UserKnownHostsFile=/dev/null' }}
SOURCE: "test_project/"
SOURCE: ["test_project/, test_project2/"]
TARGET: "/var/www/html/"
EXCLUDE: ${{ github.event.inputs.EXCLUDE || 'skip_dir/, /node_modules/' }}
SCRIPT_BEFORE: |
Expand Down
Loading

0 comments on commit 98ee38d

Please sign in to comment.