Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(ci): draft for improving automation publish report #787

Merged
merged 4 commits into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ jobs:
contents: write
issues: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: deploy-gh-pages-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/[email protected]
with:
Expand Down Expand Up @@ -187,6 +188,9 @@ jobs:
ref: gh-pages
path: gh-pages

- name: Pull changes from gh-pages
run: git pull --rebase origin gh-pages

- name: Generate Allure Report
if: always()
uses: simple-elf/allure-report-action@master
Expand All @@ -203,6 +207,9 @@ jobs:
id: timestampidtwo
run: echo "timestamp=$(date --utc +%Y%m%d_%H%M%SZ)" >> "$GITHUB_OUTPUT"

- name: Pull changes from gh-pages
run: git pull --rebase origin gh-pages

- name: Deploy report to Github Pages
if: success()
uses: peaceiris/actions-gh-pages@v4
Expand Down