aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitea/workflows/deploy.yml7
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/