Files
dimension-sh-nikdoof-web/.github/workflows/deploy.yaml
2021-06-29 11:42:45 +01:00

21 lines
481 B
YAML

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
environment: production
runs-on: ubuntu-latest
steps:
- name: Deploy to target system
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.TARGET_HOST }}
username: ${{ secrets.DEPLOYMENT_USER }}
key: ${{ secrets.DEPLOYMENT_SSH_KEY }}
port: 22
script: |
cd ~/src/dimension-nikdoof
make