diff --git a/.github/workflows/allure-history-mac.yml b/.github/workflows/allure-history-mac.yml new file mode 100644 index 0000000..786cf61 --- /dev/null +++ b/.github/workflows/allure-history-mac.yml @@ -0,0 +1,35 @@ +name: allure-history-mac + +on: + workflow_dispatch: + +jobs: + generate-report: + name: Generate Report + runs-on: ktbs-sdet-macmini-runner + steps: + + - uses: actions/checkout@v4 + + - name: Get history + uses: actions/checkout@v4 + continue-on-error: true + with: + ref: gh-pages + path: gh-pages + + - name: Report History Action + uses: kitabisa/dukun@master + with: + subfolder: allure + keep_reports: 2 + report_folder: allure-results + allure_report: allure-report + gh_pages: gh-pages + report_history: report-history + + - name: Deploy Report to Github Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./report-history diff --git a/.github/workflows/report-history-mac.yml b/.github/workflows/report-history-mac.yml new file mode 100644 index 0000000..54b47dc --- /dev/null +++ b/.github/workflows/report-history-mac.yml @@ -0,0 +1,34 @@ +name: report-history-mac + +on: + workflow_dispatch: + +jobs: + generate-report: + name: Generate Report + runs-on: ktbs-sdet-macmini-runner + steps: + + - uses: actions/checkout@v4 + + - name: Get history + uses: actions/checkout@v4 + continue-on-error: true + with: + ref: gh-pages + path: gh-pages + + - name: Report History Action + uses: kitabisa/dukun@master + with: + subfolder: report + keep_reports: 2 + report_folder: report + gh_pages: gh-pages + report_history: report-history + + - name: Deploy Report to Github Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./report-history