Skip to content

sparkouttech/ssh-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy to a Linux server using rsync

name: Deploy to Server on: push: branches: - developemnt # Change this to match your branch name jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: deploy to server uses: sparkouttech/ssh-deployment@v2 env: DEPLOY_KEY: ${{ secrets.SERVER_SSH_KEY }} ARGS: "-avz --delete" SERVER_PORT: ${{ secrets.SERVER_PORT }} FOLDER: "./" SERVER_IP: ${{ secrets.SERVER_IP }} USERNAME: ${{ secrets.USERNAME }} SERVER_DESTINATION: ${{ secrets.SERVER_DESTINATION }}

About

ssh deployment for github actions

Resources

Stars

Watchers

Forks

Packages

No packages published