From 2b2ce9d645a6aa57370218d4481ba865b89c9411 Mon Sep 17 00:00:00 2001 From: Iszuddin Ismail Date: Wed, 13 May 2026 14:55:47 +0800 Subject: [PATCH] fixinf ci.yml .htaccess --- .gitea/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3f343ab..d502574 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -79,6 +79,7 @@ jobs: uses: actions/upload-artifact@v3.2.2-node20 with: name: laravel-build + include-hidden-files: true path: | app bootstrap @@ -150,6 +151,8 @@ jobs: --exclude='storage/framework/views/*' \ release/ "${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}" + sshpass -e ssh -p "${DEPLOY_PORT:-22}" "${DEPLOY_USER}@${DEPLOY_HOST}" "test -f \"${DEPLOY_PATH}/public/.htaccess\" || { echo 'public/.htaccess missing after rsync'; exit 1; }" + - name: Create .env on server from secret env: DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}