Skip to content

Commit

Permalink
Add lhci to prod CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jshearer authored Feb 21, 2024
1 parent 1d85afb commit 389a284
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,19 @@ jobs:
GATSBY_DB_HOST: ${{ secrets.GATSBY_DB_HOST }}
GATSBY_DB_PORT: ${{ secrets.GATSBY_DB_PORT }}
GATSBY_DB_NAME: ${{ secrets.GATSBY_DB_NAME }}
- name: run Lighthouse CI
run: |
npm install -g @lhci/[email protected]
lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}
LHCI_BASIC_AUTH_USERNAME: ${{ secrets.LHCI_BASIC_AUTH_USERNAME }}
LHCI_BASIC_AUTH_PASSWORD: ${{ secrets.LHCI_BASIC_AUTH_PASSWORD }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
expires: 30d
projectId: estuary-marketing
channelId: live
channelId: live

0 comments on commit 389a284

Please sign in to comment.