mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 21:58:52 +03:00
fix(devops): connection string var name (#23443)
This commit is contained in:
parent
8b18bfcad1
commit
8bebdefd71
6
.github/workflows/create_test_report.yml
vendored
6
.github/workflows/create_test_report.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
with:
|
||||
blob_prefix: 'run-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}-${{ github.sha }}'
|
||||
output_dir: 'blob-report'
|
||||
connection_string: '${{ secrets.AZURE_CONNECTION_STRING }}'
|
||||
connection_string: '${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}'
|
||||
|
||||
- name: Merge into HTML Report
|
||||
run: |
|
||||
@ -43,14 +43,14 @@ jobs:
|
||||
- name: Upload HTML report to Azure
|
||||
run: |
|
||||
REPORT_DIR='run-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}-${{ github.sha }}'
|
||||
az storage blob upload-batch -s playwright-report -d "\$web/$REPORT_DIR" --connection-string "${{ secrets.AZURE_CONNECTION_STRING }}"
|
||||
az storage blob upload-batch -s playwright-report -d "\$web/$REPORT_DIR" --connection-string "${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}"
|
||||
echo "Report url: https://pwblobreport01.z1.web.core.windows.net/$REPORT_DIR/index.html"
|
||||
|
||||
- name: Upload blob report to Azure
|
||||
if: ${{ github.event.workflow_run.event == 'pull_request' }}
|
||||
run: |
|
||||
REPORT_DIR='run-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}-${{ github.sha }}'
|
||||
az storage blob upload-batch -s blob-report -d "\$web/$REPORT_DIR" --connection-string "${{ secrets.AZURE_CONNECTION_STRING }}"
|
||||
az storage blob upload-batch -s blob-report -d "\$web/$REPORT_DIR" --connection-string "${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}"
|
||||
|
||||
- name: Comment on PR
|
||||
uses: actions/github-script@v6
|
||||
|
Loading…
Reference in New Issue
Block a user