Skip to content

Deploy Dispatcher

Actions
Deploy Code to Remote Server using rsync
v0.1.2
Latest
Star (2)

GitHub Action to Deploy Code

GitHub Action for deploying code to server via rsync

Input Variables

  • remote_user - The ssh username.
  • remote_host - The ssh host.
  • remote_path - The absolute path to deployed the code.
  • ssh_login_password - The SSH Login Password
  • ssh_private_key - The SSH private key
  • rsync_switches - The switches that is passes to the rsync command. Default: -az --chown=www-data:www-data --progress

Sample Usage

name: "File Deployer"
run-name: ${{ github.actor }} is deploying files to the server.
on:
  push:
    branches:
      - trunk
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Deploy Dispatcher
        uses: TremiDkhar/[email protected]
        with:
          remote_user: ${{ secrets.REMOTE_USER }}
          remote_host: ${{ secrets.REMOTE_HOST }}
          remote_path: ${{ secrets.REMOTE_PATH }}
          ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
          ssh_private_key_password: ${{ secrets.SSH_PRIVATE_KEY_PASSWORD }}
          rsync_switches: '-azh --chown=www-data:www-data --progress'

Deploy Dispatcher is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Deploy Code to Remote Server using rsync
v0.1.2
Latest

Deploy Dispatcher is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.