'After SSH execute local script cannot stop in GitHub Actions
I execute a local shell script on GitHub Actions. But it cannot stop after executing the script successfully.
I try to add exit 0 at the end of the script, add > /dev/null 2>&1 in the command and add -tt in the command. Above ways all not working.
The following code is the command in the GitHub actions yml file.
ssh server < script/docker_deploy.sh
Is there a way to solve this problem? Thanks so much.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
