Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hengkx/ssh-deploy
Github actions ssh auto deploy and execute command
https://github.com/hengkx/ssh-deploy
Last synced: 3 months ago
JSON representation
Github actions ssh auto deploy and execute command
- Host: GitHub
- URL: https://github.com/hengkx/ssh-deploy
- Owner: hengkx
- License: mit
- Created: 2020-07-04T17:06:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T19:29:49.000Z (over 2 years ago)
- Last Synced: 2024-10-06T20:02:41.709Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 195 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ssh-deploy
# Usage
See [action.yml](action.yml)
Basic:
```yaml
steps:
- uses: hengkx/[email protected]
env:
HOST: ${{ secrets.DEPLOY_HOST }}
USERNAME: ${{ secrets.DEPLOY_USERNAME }}
PASSWORD: ${{ secrets.DEPLOY_PASSWORD }}
PORT: ${{ secrets.DEPLOY_PORT }}
SOURCE: 'dist/'
TARGET: ${{ secrets.DEPLOY_DEST_PATH }}
AFTER_COMMAND: 'npm run stop && npm install --production && npm run start'
```# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)