Skip to content

Commit

Permalink
Merge pull request #48 from marcelloromani/master
Browse files Browse the repository at this point in the history
fix indentation in readme yaml snippets (#1)
  • Loading branch information
garygrossgarten authored Jul 11, 2024
2 parents 2d32ef6 + b64a42a commit 018af53
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,27 @@ Simple GitHub Action to copy a folder or single file to a remote server using SS

```yml
- name: Copy folder content recursively to remote
uses: garygrossgarten/github-action-scp@release
with:
local: test
remote: scp/directory
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.PASSWORD }}
uses: garygrossgarten/github-action-scp@release
with:
local: test
remote: scp/directory
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.PASSWORD }}

```

**Copy a single file to a remote server**

```yml
- name: Copy single file to remote
uses: garygrossgarten/github-action-scp@release
with:
local: test/oof.txt
remote: scp/single/oof.txt
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.PASSWORD }}
uses: garygrossgarten/github-action-scp@release
with:
local: test/oof.txt
remote: scp/single/oof.txt
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.PASSWORD }}

```

Expand Down

0 comments on commit 018af53

Please sign in to comment.