diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 69ee848..261ddf4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,8 @@ name: scp files -on: [push] +on: + push: + branches: + - latest jobs: build: diff --git a/README.md b/README.md index ffd2fc4..59484fe 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # SSH SCP SSH Pipelines +[Github actions](https://help.github.com/en/actions/creating-actions/creating-a-docker-container-action) + Credit to [SSH SCP Action of Ali Najafizadeh](https://github.com/alinz/ssh-scp-action) -This action allows doing -1. ssh -2. scp -3. ssh +This action allows doing in order +1. ssh if defined +2. scp if defined +3. ssh if defined ## Inputs see the [action.yml](./action.yml) file for more detail imformation. @@ -53,6 +55,7 @@ e.g. ## Usages +see the [deploy.yml](./.github/workflows/deploy.yml) file for more detail imformation. #### ssh scp ssh pipelines ```yaml