lighthouse
Some checks reported warnings
deploy to production / deploy (push) Has been cancelled

This commit is contained in:
Robin Grenzdörfer 2023-12-05 16:02:01 +00:00
parent 5e974cb8de
commit c915b4de33

View File

@ -20,6 +20,18 @@ jobs:
# ports: # ports:
# - 80:80 # - 80:80
# - 25:25 # - 25:25
tibi-server:
image: gitbase.de/cms/tibi-server
ports:
- 8080:8080
env:
DB_DIAL: mongodb://mongo
API_PORT: 8080
MAIL_HOST: maildev:25
SECURITY_ALLOWABSOLUTEPATHS: "true"
SECURITY_ALLOWUPPERPATHS: "true"
SECURITY_ALLOWRELATIVEPATHS: "true"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -38,33 +50,6 @@ jobs:
npm install -g yarn npm install -g yarn
yarn install yarn install
- name: Clone Live Server Repository
run: |
git clone https://gitbase.de/robin/live-server ./live-server
- name: Build Live Server Docker Image
run: |
docker build -t liveserver-image -f ./live-server .
- name: Start Live Server
run: |
docker run -d -p 80:80 liveserver-image
- name: Clone tibi server Repository
run: |
git clone https://gitbase.de/cms/tibi-server ./tibi-server
- name: Build Tibi Server Docker Image
run: |
docker build -t tibiserver-image -f ./tibi-server .
- name: Start Tibi Server
run: |
docker run -d -p 8080:8080 \
-e API_PORT=8080 \
-e DB_DIAL=mongodb://mongo \
-e MAIL_HOST=maildev:25 \
tibiserver-image
- name: modify config - name: modify config
run: | run: |
sed -i 's#\(sentryEnvironment.*\)".*"#\1"${GITHUB_REF_NAME}"#g' frontend/src/config.ts sed -i 's#\(sentryEnvironment.*\)".*"#\1"${GITHUB_REF_NAME}"#g' frontend/src/config.ts