generated from template/node
action to sync files with a remote rsync daemon
- TypeScript 70.5%
- Nix 29.5%
| .forgejo | ||
| .github/workflows | ||
| .vscode | ||
| .zed | ||
| build | ||
| src | ||
| tests | ||
| .envrc.project | ||
| .gitignore | ||
| .npmignore | ||
| .oxfmtrc.json | ||
| .oxlintrc.json | ||
| action.yaml | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| rolldown.config.ts | ||
| treefmt.toml | ||
| tsconfig.json | ||
rsync-action
Pulls a file or directory from an rsync daemon, then pushes it back when the workflow finishes
- uses: spotdemo4/rsync-action@main
with:
server: rsync.example.com:873
module: backups
remote-path: project/
local-path: project/
secret: ${{ secrets.RSYNC_SECRET }}
secret must be username:password. The action passes the password via RSYNC_PASSWORD, so it targets an rsync daemon (rsyncd) and does not use SSH.
TLS is enabled by default, set tls: false for a plain rsync daemon.
The action removes local-path after a successful post-job push.
remote-path and local-path preserve normal rsync trailing slash semantics. For directory contents, include trailing slashes on both paths. A local-path of ~ or leading ~/ is expanded to HOME before rsync runs.