Skip to content

Merge pull request #8 from EncryptEx/log-files #8

Merge pull request #8 from EncryptEx/log-files

Merge pull request #8 from EncryptEx/log-files #8

Workflow file for this run

name: Deploy
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Copy repository contents via scp
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: "${{ secrets.SSHKEY }}"
source: "."
target: "${{ secrets.PATH }}"
- name: Executing remote command
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSHKEY }}
script: ${{ secrets.SCRIPT }}