From 124061301d9612ba24ad0a2c9dd656431059d724 Mon Sep 17 00:00:00 2001 From: Nguyen Huu Thuong Date: Fri, 12 Jun 2020 03:27:33 +0200 Subject: [PATCH] use latest branch --- .github/workflows/deploy.yml | 5 ++++- README.md | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) 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