canastro / copy-action

27 stars 9 forks source link

Usage

copy files and artifacts via SSH as below.

name: copy files
on: [push]
jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: copy file
      uses: canastro/copy-file-action@master
      with:
        source: "tests/a.txt"
        target: "test-a.txt"