eledana/.gitea/workflows/main.yml

21 lines
553 B
YAML
Raw Normal View History

2024-11-07 19:09:57 +00:00
name: Build, push and deploy
on:
push:
branches:
- main
jobs:
builds:
runs-on: slimbook-ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: rclone to remote
run: |
ls -lha
2024-11-07 21:50:08 +00:00
echo ${{ secrets.ID_ED25519 }} > ~/.ssh/id_ed25519
rsync -avz --delete --exclude=".git" --exclude=".env" --exclude="storage/logs/laravel.log" --exclude="laravel/node_modules" -e "ssh -i ~/.ssh/id_ed25519" ./ albert@217.160.204.114:/var/www/vhosts/electricistasdana.com/httpdocs