Skip to content

Commit

Permalink
Set basic auth using env secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson committed Oct 9, 2024
1 parent f926d6d commit ed9d1dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lxl-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
run: |
npm run build
npm install -g @lhci/[email protected]
lhci autorun --upload.basicAuth.username="$LHCI_SERVER_USERNAME" --upload.basicAuth.password="$LHCI_SERVER_PASSWORD" || echo "LHCI failed!"
lhci autorun || echo "LHCI failed!"
env:
API_URL: ${{ secrets.API_URL }}
ID_URL: ${{ secrets.ID_URL }}
LHCI_SERVER_BASE_URL: ${{ secrets.LHCI_SERVER_BASE_URL }}
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_SERVER_USERNAME: ${{ secrets.LHCI_SERVER_USERNAME }}
LHCI_SERVER_PASSWORD: ${{ secrets.LHCI_SERVER_PASSWORD }}
LHCI_SERVER_BASIC_AUTH_USERNAME: ${{ secrets.LHCI_SERVER_BASIC_AUTH_USERNAME }}
LHCI_SERVER_BASIC_AUTH_PASSWORD: ${{ secrets.LHCI_SERVER_BASIC_AUTH_PASSWORD }}

0 comments on commit ed9d1dd

Please sign in to comment.