Skip to content

Merge pull request #12 from EncryptEx/code-cleanup #10

Merge pull request #12 from EncryptEx/code-cleanup

Merge pull request #12 from EncryptEx/code-cleanup #10

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 }}