You could open issues here to reach me! Ask me about anything ๐
up9cloud / action-rsync Goto Github PK
View Code? Open in Web Editor NEWGithub action - rsync
License: MIT License
Github action - rsync
License: MIT License
You could open issues here to reach me! Ask me about anything ๐
job failed on:
bash: line 1: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.3]
How to I can set TARGET is a file
Thanks!
As the title suggests, it should be possible to deploy with password.
And KEY shouldn't be required, since an ssh connection doesn't require a key and a password may be used instead
Wondering is it possible to rsync from remote to local?
Hello devs,
I have a repo that seems to have the following issue.
When I have the following setting in my workflow it doesn't work:
on:
pull_request:
branches: [main]
types: [closed]
jobs:
build:
# Only run this job if PR is merged
if: github.event.pull_request.merged == true
It fails with the following message:
[action-rsync] Must specify $HOST! (target host)
However, it seems to work with the following setting:
on:
push:
branches: [main]
I'm not experiencing this on another repo. So it's a little puzzling to me.
My rsync config:
# Deploy
- name: rsync
# Set the version you want: https://github.com/marketplace/actions/action-rsync
uses: up9cloud/action-rsync@master
env:
# Required
HOST: ${{secrets.SSH_HOSTNAME}} # host
USER: ${{secrets.SSH_USER_NAME}} # target server ssh user
PORT: 22 # target server ssh port
KEY: ${{secrets.SSH_KEY}} # ssh private key
SSH_ARGS: '-p 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
# source folder or file
SOURCE: ./
# target path for folder or file
TARGET: ${{secrets.REMOTE_TARGET_PATH}}
# Optional (with `default` values)
VERBOSE: false # set it true if you want some tips
# The final rsync arguments will be "$ARGS $ARGS_MORE".
ARGS: -avz # rsync arguments
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.