diff --git a/.github/workflows/scrapers_runner.yml b/.github/workflows/scrapers_runner.yml index 8c7c688a87..68f249756c 100644 --- a/.github/workflows/scrapers_runner.yml +++ b/.github/workflows/scrapers_runner.yml @@ -52,10 +52,19 @@ jobs: rm -rf docs/allure-results/history mv -f allure-report/history docs/allure-results mv -f docs/environment.properties docs/allure-results - mv -f docs/executor.json docs/allure-results - env: - GITHUB_RUN_ID: ${{ github.run_id }} - GITHUB_RUN_NUMBER: ${{ github.run_number }} + # mv -f docs/executor.json docs/allure-results + + - name: Generate Executor JSON + run: | + echo '{ + "name": "GitHub Actions", + "type": "github", + "url": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/'"${GITHUB_RUN_ID}"'", + "buildName": "'"${GITHUB_RUN_NUMBER}"'", + "buildUrl": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/'"${GITHUB_RUN_ID}"'", + "reportName": "Allure Report", + "reportUrl": "https://github.com/peviitor-ro/RaresTestHub/actions/runs/'"${GITHUB_RUN_ID}"'" + }' > docs/allure-results/executor.json - name: Generate Allure report run: |