Skip to content

Commit 10db004

Browse files
authored
Update GitHub Actions workflow to retain more reports and adjust Allure report URL format (#1305)
1 parent f03cdcd commit 10db004

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/run-e2e-automation-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ jobs:
288288
gh_pages: gh-pages
289289
allure_report: allure-report
290290
allure_history: allure-history
291+
keep_reports: 100
291292

292293
- name: Publish Allure report to GitHub Pages
293294
if: github.event_name == 'workflow_dispatch'
@@ -302,5 +303,5 @@ jobs:
302303
uses: actions/github-script@v8
303304
with:
304305
script: |
305-
const url = `https://${context.repo.owner}.github.io/${context.repo.repo}/`;
306+
const url = `https://${context.repo.owner}.github.io/${context.repo.repo}/${context.runNumber}/`;
306307
core.summary.addHeading('Allure Report').addLink('View Report', url).write();

0 commit comments

Comments
 (0)