Skip to content

Commit

Permalink
make ci-artifacts branch new-connect/pr-#
Browse files Browse the repository at this point in the history
  • Loading branch information
signed-long committed Jul 1, 2024
1 parent 30de6c3 commit 7e25d23
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ jobs:
- name: Push Screenshots
working-directory: ${{ github.workspace }}/ci-artifacts
run: |
git checkout -b new-connect/pr-${{ steps.pr.outputs.result }}
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git add new-connect
git commit -m "screenshots for PR #${{ steps.pr.outputs.result }}"
git push
git push origin new-connect/pr-${{ steps.pr.outputs.result }} --force
- name: Comment URL on PR
uses: thollander/actions-comment-pull-request@v2
Expand All @@ -89,18 +90,18 @@ jobs:
### Mobile
<table>
<tr>
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/master/new-connect/pr-${{ steps.pr.outputs.result }}/Login-mobile.playwright.png"></td>
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/master/new-connect/pr-${{ steps.pr.outputs.result }}/RouteActivity-mobile.playwright.png"></td>
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/master/new-connect/pr-${{ steps.pr.outputs.result }}/RouteList-mobile.playwright.png"></td>
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/pr-${{ steps.pr.outputs.result }}/new-connect/pr-${{ steps.pr.outputs.result }}/Login-mobile.playwright.png"></td>
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/pr-${{ steps.pr.outputs.result }}/new-connect/pr-${{ steps.pr.outputs.result }}/RouteActivity-mobile.playwright.png"></td>
<td><img src="https://raw.githubusercontent.com/commaai/ci-artifacts/pr-${{ steps.pr.outputs.result }}/new-connect/pr-${{ steps.pr.outputs.result }}/RouteList-mobile.playwright.png"></td>
</tr>
</table>
### Desktop
<table>
<tr>
<img src="https://raw.githubusercontent.com/commaai/ci-artifacts/master/new-connect/pr-${{ steps.pr.outputs.result }}/Login-desktop.playwright.png">
<img src="https://raw.githubusercontent.com/commaai/ci-artifacts/master/new-connect/pr-${{ steps.pr.outputs.result }}/RouteActivity-desktop.playwright.png">
<img src="https://raw.githubusercontent.com/commaai/ci-artifacts/master/new-connect/pr-${{ steps.pr.outputs.result }}/RouteList-desktop.playwright.png">
<img src="https://raw.githubusercontent.com/commaai/ci-artifacts/pr-${{ steps.pr.outputs.result }}/new-connect/pr-${{ steps.pr.outputs.result }}/Login-desktop.playwright.png">
<img src="https://raw.githubusercontent.com/commaai/ci-artifacts/pr-${{ steps.pr.outputs.result }}/new-connect/pr-${{ steps.pr.outputs.result }}/RouteActivity-desktop.playwright.png">
<img src="https://raw.githubusercontent.com/commaai/ci-artifacts/pr-${{ steps.pr.outputs.result }}/new-connect/pr-${{ steps.pr.outputs.result }}/RouteList-desktop.playwright.png">
</tr>
</table>
comment_tag: run_id
Expand Down

0 comments on commit 7e25d23

Please sign in to comment.