Skip to content

ssh-action-deploy (v1)

Compare
Choose a tag to compare
@sebastianjnuwu sebastianjnuwu released this 07 Feb 21:34
· 67 commits to action since this release

🐥 ssh-action-deploy

"Deploy to your machine via ssh in a quick and easy way with complete security, read and use this github action"

# Please read the next section below before using for your own safety "variables".
name: 🐥 ssh-action-deploy

on:
  push:
    branches: [ "action" ]
  pull_request:
    branches: [ "action" ]
    
jobs:
  build:
    name: 🕳️ Ubuntu...
    runs-on: ubuntu-latest
    steps:
      - name: 💞 Github actions...
        uses: actions/checkout@v3
      - name: 🌈 Deploy with ssh...
        uses: sebastianjnuwu/ssh-action-deploy@v1
        with:
          IP: ${{ secrets.IP }}
          USER: ${{ secrets.USER }}
          KEY: ${{ secrets.KEY }}
          FOLDER: 'root/.deploy'
          RUN: 'ls -a; pwd'