contention / rsync-deployments Goto Github PK
View Code? Open in Web Editor NEWGitHub Action for deploying code via rsync over ssh
License: MIT License
GitHub Action for deploying code via rsync over ssh
License: MIT License
Hi, I need some help! Not sure what i'm missing to make this action work.
name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: contention/rsync-deployments@master
with:
RSYNC_OPTIONS: -avzr --delete --exclude node_modules --exclude '.git*'
RSYNC_TARGET: ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }}:${{ secrets.SERVER_TARGET_DIR }}
env:
DEPLOY_KEY: ${{ secrets.SERVER_PRIVATE_KEY }}
This is mostly a feature request.
Currently, the solution deploys everything from the github repo.
It would be a nice addition to deploy just part of the repo or only a folder. For example I want to do my build on a linux machine spinned off by actions workflow, and then I want to move to a server JUST the contents of the build.
Hi, could you please provide an example about how to use rsync-deployments using the new YML syntax provided by Github Actions?
A dependent repository, /contention/action-rsync-deploy, is returning a 404 and is stopping this action from working.
The action lacks the ability to set a custom port for the ssh connection
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.