mirror of
https://github.com/canastro/copy-action.git
synced 2024-11-23 10:43:50 +08:00
21 lines
338 B
Markdown
21 lines
338 B
Markdown
## Usage
|
|
|
|
copy files and artifacts via SSH as below.
|
|
|
|
```yaml
|
|
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"
|
|
```
|