Skip to content

Commit 6fb9690

Browse files
ci(github): add a new step in the pipeline
1 parent ed0b618 commit 6fb9690

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: pipx install poetry
3333

3434
- name: Install dependencies
35-
run: poetry install
35+
run: poetry install --no-interaction --no-ansi
3636

3737
- name: Run CI Pipeline (Lint, Typecheck, Test)
3838
# This runs all checks and generates the raw 'allure-results'
@@ -57,6 +57,14 @@ jobs:
5757
report_dir: 'test/allure/results'
5858
gh_pages: 'gh-pages'
5959

60+
- name: Commit and Push Report
61+
uses: mgrybyk-org/git-commit-pull-push-action@v1
62+
if: always() && github.ref == 'refs/heads/main' # Only push on merge to main
63+
with:
64+
repository: gh-pages # The directory with the checked-out branch
65+
branch: gh-pages # The branch to push to
66+
# This handles potential merge conflicts by favoring the new report
67+
pull_args: --rebase -X ours
6068
- name: Comment on Pull Request with Report Link
6169
# Only run this step for pull request events
6270
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)