Skip to content

feat: add cd with gh actions #1

feat: add cd with gh actions

feat: add cd with gh actions #1

Workflow file for this run

name: CD
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/ssh-action@master
with:
username: ${{ secrets.SSH_USERNAME }}
host: ${{ secrets.SSH_HOST }}
password: ${{ secrets.SSH_PASSWORD }}
script: 'cd ~/projects/overseer && ./deploy.sh'