From 4feed92827a3e98331482c422cd4cf76687df9e8 Mon Sep 17 00:00:00 2001 From: Dhaverd Date: Fri, 28 Mar 2025 07:16:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/action.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 1d45e9c..7ddd05f 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -24,10 +24,10 @@ jobs: - name: Copy files to deployment directory run: | - rsync -av ./ ${DEPLOY_DIR}/ + sudo rsync -av ./ ${DEPLOY_DIR}/ if [ -f .env ]; then - cp .env ${DEPLOY_DIR}/.env + sudo cp .env ${DEPLOY_DIR}/.env fi sudo chmod -R 777 ${DEPLOY_DIR}