17 Commits

Author SHA1 Message Date
Marco Dalla Santa
ad4bb0c9e0 Merge pull request #5 from marcodallasanta/development
Updated CHANGELOG. Improved Dockerfile to copy all .sh files.
2020-12-21 20:27:35 +01:00
Marco Dalla Santa
40de7fd0b7 Updated CHANGELOG. 2020-12-21 20:25:27 +01:00
Marco Dalla Santa
a9a68bc8ee Newline at end of Dockerfile. 2020-12-21 20:24:19 +01:00
Marco Dalla Santa
2d5fd18c0b Updated CHANGELOG. Fixed Dockerfile. 2020-12-21 20:23:16 +01:00
Marco Dalla Santa
1b7e36c773 Merge pull request #4 from marcodallasanta/development
Changed README. Fixed Dockerfile.
2020-12-21 20:18:32 +01:00
Marco Dalla Santa
f0079adc5b Changed README. Fixed Dockerfile. 2020-12-21 20:11:26 +01:00
Marco Dalla Santa
796ad8132d Merge pull request #3 from marcodallasanta/development
Refactored README and logo location.
2020-12-21 12:03:35 +01:00
Marco Dalla Santa
67587a1976 Changed README 2020-12-21 12:01:36 +01:00
Marco Dalla Santa
7635795846 Merge pull request #2 from mdallasanta/development
Added logo and badges.
2020-12-20 19:37:10 +01:00
Marco Dalla Santa
560f02a415 Changed README 2020-12-20 19:34:37 +01:00
Marco Dalla Santa
2ab605adf3 Changed README 2020-12-20 19:31:54 +01:00
Marco Dalla Santa
138c2fb2ea Added logo 2020-12-20 19:30:27 +01:00
Marco Dalla Santa
891f661b1b Added logo 2020-12-20 19:29:55 +01:00
Marco Dalla Santa
e5ccb99140 Merge pull request #1 from mdallasanta/development
Development
2020-12-20 19:01:48 +01:00
Marco Dalla Santa
2f78613c53 Changed README 2020-12-20 19:00:23 +01:00
Marco Dalla Santa
f705dfd43a Changed README 2020-12-20 18:57:10 +01:00
Marco Dalla Santa
c3ed5c67e7 Modified LICENSE. Enhanced README.md 2020-12-18 19:53:41 +01:00
5 changed files with 53 additions and 12 deletions

View File

@@ -1,9 +1,17 @@
# [Unreleased]
## [v1.0.1] - 2020-12-21
### Fixed
- Dockerfile used to copy just entrypoint.sh.
## [v1.0.0] - 2020-12-18
### Added
- First definition of the action.
[unreleased]: https://github.com/marcodallasanta/ssh-scp-deploy/compare/main...development
[v1.0.1]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.1
[v1.0.0]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.0

View File

@@ -8,6 +8,6 @@ RUN apk update && \
COPY LICENSE README.md /
COPY entrypoint.sh /entrypoint.sh
COPY *.sh ./
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -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
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,17 +1,37 @@
<p align="center">
<img src="resources/logo.png">
</p>
<p align="center">
<a href="https://docs.github.com/en/actions/creating-actions/about-actions#types-of-actions"><img alt="Action type" src="https://img.shields.io/badge/Docker%20action-262b31?logo=docker&logoColor=2496ed"></a>
<a href="LICENSE"><img alt="License" src="https://img.shields.io/github/license/marcodallasanta/ssh-scp-deploy"></a>
<a href="https://github.com/marcodallasanta/ssh-scp-deploy/actions?query=workflow%3ATest"><img alt="Pipeline status" src="https://github.com/marcodallasanta/ssh-scp-deploy/workflows/Test/badge.svg"></a>
</p>
# ssh-scp-deploy
[![Action type](https://img.shields.io/badge/Docker%20action-262b31?logo=docker&logoColor=2496ed)](https://docs.github.com/en/actions/creating-actions/about-actions#types-of-actions)
[![License](https://img.shields.io/github/license/underscore69/ssh-scp-deploy)](https://opensource.org/licenses/MIT)
[![Pipeline status](https://img.shields.io/github/workflow/status/underscore69/ssh-scp-deploy/Test?label=test)](./)
## ❔ Why should I use this action?
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.
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 to deploy my personal projects to remote server, restarting the needed services or to do a simple upload via scp.
## Supported runners
## 🏃 Supported runners
[![Supported runner](https://img.shields.io/badge/Linux-262b31?style=for-the-badge&logo=linux&logoColor=fcc624)](https://docs.github.com/en/actions/creating-actions/about-actions#docker-container-actions)
## Usage
## 👤 Author
**Marco Dalla Santa**
* Twitter: [@marcodallasanta](https://twitter.com/marcodallasanta)
* Github: [@marcodallasanta](https://github.com/marcodallasanta)
* LinkedIn: [@marcodallasanta](https://linkedin.com/in/marcodallasanta)
* StackOverflow: [@marcodallasanta](https://stackoverflow.com/story/marcodallasanta)
## ⚙️ Usage
```yaml
- uses: underscore69/ssh-scp-deploy@v1.0.0
- uses: mdallasanta/ssh-scp-deploy@{version}
with:
local: './' # Local file path - REQUIRED false - DEFAULT ./
remote: '~/' # Remote file path - REQUIRED false - DEFAULT ~/
@@ -26,5 +46,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 ''
```
## 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) for help in testing.
## 📝 License
Copyright © 2020 [Marco Dalla Santa](https://github.com/marcoallasanta)
The source code, scripts and documentation in this project are released under the [MIT License](LICENSE)

BIN
resources/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB