Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Failing after 0s

This commit is contained in:
remco committed 2026-07-12 11:28:30 +02:00
1 parent b0be870795
commit f719e2cbb7
1 file changed
+4 -1
+4 -1
View File
@@ -21,9 +21,12 @@ jobs:
# 2. Navigate to your website directory
cd /var/www/atom-nexst/
# Fix ownership to ensure www-data owns the files before Git runs
# Fix ownership to ensure www-data owns the files
sudo chown -R www-data:www-data .git/
# Force Git to read directly from the local Gitea repository directory
sudo -u www-data git remote set-url origin /docker/gitea/gitea/git/repositories/remco/epicnext-cms.git/
# 3. Fetch and update code using the local web user
sudo -u www-data git fetch origin --prune
sudo -u www-data git reset --hard origin/main