fixinf ci.yml .htaccess
This commit is contained in:
@@ -79,6 +79,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3.2.2-node20
|
uses: actions/upload-artifact@v3.2.2-node20
|
||||||
with:
|
with:
|
||||||
name: laravel-build
|
name: laravel-build
|
||||||
|
include-hidden-files: true
|
||||||
path: |
|
path: |
|
||||||
app
|
app
|
||||||
bootstrap
|
bootstrap
|
||||||
@@ -150,6 +151,8 @@ jobs:
|
|||||||
--exclude='storage/framework/views/*' \
|
--exclude='storage/framework/views/*' \
|
||||||
release/ "${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}"
|
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
|
- name: Create .env on server from secret
|
||||||
env:
|
env:
|
||||||
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
||||||
|
|||||||
Reference in New Issue
Block a user