Skip to content

Commit

Permalink
update(ci): draft for improving automation publish report (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm authored Oct 29, 2024
1 parent e9a1c5f commit 47e9720
Showing 1 changed file with 8 additions and 1 deletion.
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

0 comments on commit 47e9720

Please sign in to comment.