lighthouse
Some checks failed
deploy to production / deploy (push) Failing after 1m11s

This commit is contained in:
2023-12-01 10:24:51 +00:00
parent 1f3738b5ac
commit decb38e564
107 changed files with 1050 additions and 16 deletions

View File

@@ -83,6 +83,22 @@ jobs:
# run: |
# docker compose -p ${GITHUB_REF_NAME}-${GITHUB_REPOSITORY_NAME}-${GITHUB_REPOSITORY_OWNER} up -d --build --remove-orphans
# Lighthouse Analysis Step
- name: Lighthouse Analysis
run: |
docker run --rm -v $(pwd)/tmp:/tmp femtopixel/google-lighthouse https://www.webmakers.de/ --output json --output-path /tmp/lighthouse-report.json --chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"
# Notify-Lighthouse Step
- name: Notify Lighthouse
run: |
docker run --rm \
-e PLUGIN_FROM=noreply@gitbase.de \
-e PLUGIN_HOST=smtp.basehosts.de \
-e PLUGIN_RECIPIENT=recipient@example.com \
-e PLUGIN_SUBJECT="Lighthouse Report" \
-v $(pwd)/tmp:/tmp \
drillster/drone-email /tmp/lighthouse-report.json
- name: deploy
if: github.ref == 'refs/heads/master'
env: