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