Skip to content

Merge pull request #14 from act-kithub/develop #7

Merge pull request #14 from act-kithub/develop

Merge pull request #14 from act-kithub/develop #7

Workflow file for this run

#file: noinspection YAMLSchemaValidation
name: CD
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: appleboy/ssh-action@master
with:
key: ${{secrets.SSH_PRIVATE_KEY}}
host: ${{secrets.SSH_HOST}}
username: ${{secrets.SSH_USER}}
port: ${{secrets.SSH_PORT}}
script: |
cd /home/ukwhatn/containers/bot/KITHUBSys
git pull origin main
make deploy:prod ENV=prod