summaryrefslogtreecommitdiff
path: root/.forgejo/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo/workflows')
-rw-r--r--.forgejo/workflows/update-site.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.forgejo/workflows/update-site.yml b/.forgejo/workflows/update-site.yml
new file mode 100644
index 0000000..20f363d
--- /dev/null
+++ b/.forgejo/workflows/update-site.yml
@@ -0,0 +1,14 @@
+on:
+ push:
+ paths:
+ - 'src/**'
+
+jobs:
+ deploy:
+ runs-on: self-hosted
+ steps:
+ - id: step1
+ run: |
+ cd /var/www/
+ git pull
+ zola build