fixinf ci.yml .htaccess
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user