diff options
author | Valentin Popov <valentin@popov.link> | 2024-09-11 23:09:29 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-09-11 23:09:29 +0300 |
commit | e2f0aecf95a443d2b7cd64e909ae23739bc12f8f (patch) | |
tree | 5a536591616a17f2dcc765531cc7217a5957ba75 /.gitea/workflows | |
parent | af700755886eb132d1cc351bf9e438c5c7fb7c5a (diff) | |
download | popov.link-e2f0aecf95a443d2b7cd64e909ae23739bc12f8f.tar.xz popov.link-e2f0aecf95a443d2b7cd64e909ae23739bc12f8f.zip |
Update deploy workflow to use rsync with --archive flag
Diffstat (limited to '.gitea/workflows')
-rw-r--r-- | .gitea/workflows/deploy.yml | 7 |
1 files changed, 5 insertions, 2 deletions
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/ |