From fa8c7c5fd7c96ccbc955ec1621f43fe6cd8faaf5 Mon Sep 17 00:00:00 2001 From: refael-m Date: Thu, 16 Apr 2026 12:57:33 +0300 Subject: [PATCH] feat: e2e upload report to dedicated report repo --- .github/workflows/e2e_tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 31af3b7..e541d63 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -54,3 +54,24 @@ jobs: name: allure-report-${{ github.run_number }} path: test/e2e/allure-report retention-days: 30 + + - name: Set timestamp + id: timestamp + run: echo "TIMESTAMP=$(date +%Y%m%d_%H%M%S_%3N)" >> $GITHUB_ENV + + - name: Pushes to reports repository + if: always() + uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.BOT_TOKEN }} + with: + source-directory: 'test/e2e/allure-report' + destination-github-username: 'cloudinary-devs' + destination-repository-name: 'cld-vscode-test-allure-reports' + user-email: '' + target-branch: main + target-directory: 'allure-report_ts_${{ env.TIMESTAMP }}' + + - name: Write URL in summary + if: always() + run: echo "### Test results https://jubilant-broccoli-www5lem.pages.github.io/allure-report_ts_${{ env.TIMESTAMP }}" >> $GITHUB_STEP_SUMMARY