Skip to content

update action

update action #13

Workflow file for this run

name: remote ssh command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: execute deployment on server
uses: appleboy/[email protected]
env:
GITREPO: ${{ github.repository }}
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
passphrase: ${{ secrets.PASSPHRASE }}
fingerprint: ${{ secrets.FINGERPRINT }}
envs: GITREPO
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
echo "$GITREPO"