pubg/.github/workflows/main.yml
2023-09-26 15:30:04 +02:00

22 lines
554 B
YAML

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/
rsync-options: --no-times -r --exclude=.git* --exclude=*.json --exclude=.git/ --exclude=.github/