From e2f0aecf95a443d2b7cd64e909ae23739bc12f8f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Sep 2024 20:09:29 +0000 Subject: Update deploy workflow to use rsync with --archive flag --- .gitea/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.gitea/workflows/deploy.yml') diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d70eb17..336515d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,5 +1,8 @@ name: Deploy -on: [push, pull_request] +on: + push: + branches: + - master jobs: build: @@ -25,4 +28,4 @@ jobs: - uses: actions/download-artifact@v3 with: name: website - - run: rsync --delete-after -a ./ /var/www/popov.link/ + - run: rsync --archive --delete-after ./ /var/www/popov.link/ -- cgit v1.2.3