mirror of
https://gitee.com/jiulinxiri/ssh-scp-deploy.git
synced 2026-02-22 04:15:37 +08:00
4
LICENSE
4
LICENSE
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
The MIT License (MIT)
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 Marco Dalla Santa and contributors
|
Copyright (c) 2020 Marco Dalla Santa
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
40
README.md
40
README.md
@@ -1,17 +1,30 @@
|
|||||||
# ssh-scp-deploy
|
# ssh-scp-deploy
|
||||||
|
|
||||||
[](https://docs.github.com/en/actions/creating-actions/about-actions#types-of-actions)
|
[](https://docs.github.com/en/actions/creating-actions/about-actions#types-of-actions)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](LICENSE)
|
||||||
[](./)
|
[](./)
|
||||||
|
|
||||||
This action provide an easy and higly customizable way to upload files via scp and execute a set of command via ssh before or/and after.
|
## ❔ Why should I use this action?
|
||||||
|
|
||||||
## Supported runners
|
Because this action provide an easy and higly customizable way to upload files via scp and execute a set of command via ssh before or/and after.
|
||||||
|
I use this action in my personal project to deploy an application to a remote server or to upload a file via scp.
|
||||||
|
|
||||||
|
## 🏃 Supported runners
|
||||||
[](https://docs.github.com/en/actions/creating-actions/about-actions#docker-container-actions)
|
[](https://docs.github.com/en/actions/creating-actions/about-actions#docker-container-actions)
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
## 👤 Author
|
||||||
|
|
||||||
|
**Marco Dalla Santa**
|
||||||
|
|
||||||
|
* Twitter: [@marcodallasanta](https://twitter.com/Marco16032098)
|
||||||
|
* Github: [@marcodallasanta](https://github.com/mdallasanta)
|
||||||
|
* LinkedIn: [@marcodallasanta](https://www.linkedin.com/in/marco-dalla-santa-72bb4015a/)
|
||||||
|
|
||||||
|
|
||||||
|
## ⚙️ Usage
|
||||||
```yaml
|
```yaml
|
||||||
- uses: underscore69/ssh-scp-deploy@v1.0.0
|
- uses: mdallasanta/ssh-scp-deploy@{version}
|
||||||
with:
|
with:
|
||||||
local: './' # Local file path - REQUIRED false - DEFAULT ./
|
local: './' # Local file path - REQUIRED false - DEFAULT ./
|
||||||
remote: '~/' # Remote file path - REQUIRED false - DEFAULT ~/
|
remote: '~/' # Remote file path - REQUIRED false - DEFAULT ~/
|
||||||
@@ -26,5 +39,18 @@ This action provide an easy and higly customizable way to upload files via scp a
|
|||||||
scp_options: -v # Flags to use during scp - REQUIRED false - DEFAULT ''
|
scp_options: -v # Flags to use during scp - REQUIRED false - DEFAULT ''
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## 🤝 Contributing
|
||||||
|
|
||||||
|
Contributions, issues and feature requests are welcome!
|
||||||
|
|
||||||
|
Feel free to check [issues page](https://github.com/mdallasanta/ssh-scp-deploy/issues).
|
||||||
|
|
||||||
|
## 🙏 Thanks
|
||||||
|
|
||||||
|
Thanks to [Raphaël Bussa](https://github.com/raphaelbussa) that helped in testing.
|
||||||
|
|
||||||
|
## 📝 License
|
||||||
|
|
||||||
|
Copyright © 2020 [Marco Dalla Santa]()
|
||||||
|
|
||||||
The source code, scripts and documentation in this project are released under the [MIT License](LICENSE)
|
The source code, scripts and documentation in this project are released under the [MIT License](LICENSE)
|
||||||
Reference in New Issue
Block a user