d9ee6a4ff98f701ff1b49f58b3930033a7e60a1d
Rsync action
This action sends the contents of a directory to a remote server using rsync.
Usage
Basic usage:
- name: Transfer files
uses: https://git.pvv.ntnu.no/oysteikt/rsync-action@v1
with:
source: ./path/to/directory/
target: /path/at/remote/
username: username
host: hostname
ssh-key: ${{ secrets.SSH_KEY }}
Advanced usage:
- name: Transfer files
uses: https://git.pvv.ntnu.no/oysteikt/rsync-action@v1
with:
source: ./path/to/directory/
target: /path/at/remote/
username: username
host: hostname
port: 2222
ssh-key: ${{ secrets.SSH_KEY }}
args: -avz --mkpath --exclude 'node_modules' --delete
known-hosts: "[hostname]:2222 ssh-ed25519 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Description
Gitea/GitHub action to transfer files using rsync
https://pages.pvv.ntnu.no/Projects/rsync-action/main/web/index.html
Readme
MIT
40 KiB
Initial release 🎉
Latest