parent
decb38e564
commit
4032033c3e
@ -86,7 +86,8 @@ jobs:
|
|||||||
# Lighthouse Analysis Step
|
# Lighthouse Analysis Step
|
||||||
- name: Lighthouse Analysis
|
- name: Lighthouse Analysis
|
||||||
run: |
|
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"
|
- mkdir -p ${{ github.workspace }}/lighthouse-reports
|
||||||
|
- docker run --rm -v ${{ github.workspace }}/lighthouse-reports:/lighthouse-reports femtopixel/google-lighthouse https://www.webmakers.de/ --output json --output-path /lighthouse-reports/lighthouse-report.json --chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"
|
||||||
|
|
||||||
# Notify-Lighthouse Step
|
# Notify-Lighthouse Step
|
||||||
- name: Notify Lighthouse
|
- name: Notify Lighthouse
|
||||||
@ -96,8 +97,8 @@ jobs:
|
|||||||
-e PLUGIN_HOST=smtp.basehosts.de \
|
-e PLUGIN_HOST=smtp.basehosts.de \
|
||||||
-e PLUGIN_RECIPIENT=recipient@example.com \
|
-e PLUGIN_RECIPIENT=recipient@example.com \
|
||||||
-e PLUGIN_SUBJECT="Lighthouse Report" \
|
-e PLUGIN_SUBJECT="Lighthouse Report" \
|
||||||
-v $(pwd)/tmp:/tmp \
|
-v ${{ github.workspace }}/lighthouse-reports:/lighthouse-reports \
|
||||||
drillster/drone-email /tmp/lighthouse-report.json
|
drillster/drone-email /lighthouse-reports/lighthouse-report.json
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user