easingthemes / ssh-deploy

GitHub Action for deploying code via rsync over ssh. (with NodeJS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synchronous scripts

yehtetluwu opened this issue · comments

commented

Is there a way to run the commands in SCRIPT_AFTER in order without making it all in one line?

For example, if I have these commands

SCRIPT_AFTER: |
        mv test.file  mydir/
        cd home/someDir && do something

I see that those are not running in order unless i do something like this.

SCRIPT_AFTER: |
        mv test.file  mydir/ && cd home/someDir && do something

Edit: Thanks @DavidOliver for pointing out the typo.

Shouldn't that be SCRIPT_AFTER rather than SCRIPTS_AFTER?

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.