Skip to content

setoelkahfi/garust-debian

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

garust-debian

GitHub Action to running Rust binary on Debian Bulls Eye using SSH rsync. As seen on my Medium article.

Supported runner

ubuntu-20.04

What is my Debian in my Ubuntu?.

Input

  working-directory:
    description: "Working directory for the build."
    required: true
  binary-name:
    description: "Name of the binary to run. Usually the [[bin]] value in the Cargo.toml."
    required: true
  ssh-user:
    description: "SSH user."
    required: true
  ssh-host:
    description: "SSH host."
    required: true
  ssh-private-key:
    description: "SSH private key."
    required: true
  ssh-known-hosts:
    description: "SSH known hosts."
    required: true

Example

name: "Build and release"

on:
  push:
    branches:
      - main

jobs:
  build-and-release:
    runs-on: ubuntu-20.04
    steps:
        - uses: actions/checkout@v3
        - uses: setoelkahfi/garust-debian@v1
            with: Install Rust stable
                ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
                ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
                ssh-user: ${{ secrets.SSH_USER }}
                ssh-host: ${{ secrets.SSH_HOST }}
                project-directory: ${{ secrets.PROJECT_DIRECTORY }}
                project-name: ${{ secrets.PROJECT_NAME }}

About

GitHub Action to run Rust binary on Debian Bulls Eye using SSH rsync.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages