diff --git a/.github/workflows/pr-visual-tests-report.yml b/.github/workflows/pr-visual-tests-report.yml index d32f328d..6ffeecf5 100644 --- a/.github/workflows/pr-visual-tests-report.yml +++ b/.github/workflows/pr-visual-tests-report.yml @@ -15,7 +15,7 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.YC_UI_BOT_GITHUB_TOKEN }} run-id: ${{ github.event.workflow_run.id }} - name: Extract PR Number id: pr @@ -23,8 +23,8 @@ jobs: shell: bash - name: Upload to S3 env: - AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_AWS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_AWS_KEY_ID }} + AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY_ID }} AWS_DEFAULT_REGION: ru-central1 AWS_EC2_METADATA_DISABLED: true run: aws s3 cp playwright-report s3://diplodoc-playwright-reports/components/test-report/${{ steps.pr.outputs.id}}/ --endpoint-url=https://storage.yandexcloud.net --recursive