auto deploy dev

This commit is contained in:
Lanta 2023-09-26 14:51:09 +02:00
parent 2b291591fd
commit e36b0001d3
5 changed files with 30 additions and 7 deletions

21
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,21 @@
on:
push:
branches:
- dev
name: Publish Website
jobs:
web-deploy:
name: Deploy on commit DEV
runs-on: ubuntu-latest
steps:
- name: Get Latest Code
uses: actions/checkout@v3
- name: Sync Files
uses: SamKirkland/web-deploy@v1
with:
target-server: lanta.eu
remote-user: stats
private-ssh-key: ${{ secrets.SSH_KEY }}
destination-path: /var/www/lantaeu/DTCH_DEV/