From 779ca2c5eb4a3d5580b303c55fcb61dc8365a5cb Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Wed, 10 May 2023 15:52:33 +0300 Subject: [PATCH] add before_script --- .gitea/workflows/deploy.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 52bc641..939bc2b 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -32,4 +32,7 @@ jobs: SOURCE: "public/" REMOTE_HOST: digitalstudium.com REMOTE_USER: root - TARGET: /srv/digitalstudium.com \ No newline at end of file + TARGET: /srv/digitalstudium.com + SCRIPT_BEFORE: | + apt update + apt install -y rsync \ No newline at end of file