Only run lighthouse when deploy succeeds

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-02-14 05:53:24 +05:30
parent e2479c28ef
commit 4f567651bd
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ jobs:
SERVER_DESTINATION: ${{ secrets.SERVER_DESTINATION_PROD }}
SSH_PORT: ${{ secrets.SSH_PORT }}
lighthouse:
runs-on: ubuntu-latest
needs: [build-deploy]
steps:
- name: Audit URL using Lighthouse
uses: docker://jakejarvis/lighthouse-action:latest
with: