Skip to content
copy

GitHub Action

Copy file

0.0.2 Latest version

Copy file

copy

Copy file

Copy local files

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Copy file

uses: canastro/[email protected]

Learn more about this action in canastro/copy-action

Choose a version

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"