Skip to content
Snippets Groups Projects
Commit 32607b69 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed missing .env file

parent 38e3b7a8
No related branches found
No related tags found
4 merge requests!1895Development,!1892Development,!1889Development,!1888Resolve "fix ci pipelines"
......@@ -157,3 +157,6 @@ integrationtest:
- sed -i "s#^BRANCH_NAME=.*#BRANCH_NAME=$CI_COMMIT_REF_NAME#g" .env
- sed -i "s#^COMMIT_NAME=.*#COMMIT_NAME=$CI_COMMIT_REF_SLUG#g" .env
- php artisan dusk
except:
refs:
- master
......@@ -124,7 +124,7 @@ spec:
mountPath: /html/storage/logs/metager
readOnly: false
- name: secrets
mountPath: /root/.env
mountPath: /home/metager/.env
subPath: env
readOnly: true
- name: secrets
......
#!/bin/sh
# Production version will have the .env file mounted at /home/metager/.env
if [ -f /home/metager/.env ];
then
cp /home/metager/.env .env
fi
if [ ! -f .env ];
then
cp .env.example .env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment