Skip to content

Commit cac1bea

Browse files
committed
notify
1 parent bbb315c commit cac1bea

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/component-library-ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ jobs:
6363
.github
6464
lfs: true
6565

66-
- name: Notify Eyes of Push
67-
run: |
68-
curl -L -d '' -X POST "$APPLITOOLS_SERVER_URL/api/externals/github/push?apiKey=${{ secrets.APPLITOOLS_API_KEY }}&CommitSha=${{ env.APPLITOOLS_BATCH_ID }}&BranchName=${{ github.repository }}/${{ github.ref_name }}&ParentBranchName=staging"
69-
7066
- name: Setup Frontend
7167
uses: ./.github/actions/frontend/setup
7268

.github/workflows/component-library-deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ on:
1313
- 'shared/**'
1414

1515
jobs:
16+
setup:
17+
runs-on: ubuntu-24.04
18+
19+
steps:
20+
- name: Notify Eyes of Push
21+
if: github.event_name == 'push'
22+
run: |
23+
curl -L -d '' -X POST "https://eyesapi.applitools.com/api/externals/github/push?apiKey=${{ secrets.APPLITOOLS_API_KEY }}&CommitSha=${{ env.APPLITOOLS_BATCH_ID }}&BranchName=${{ github.repository }}/${{ github.ref_name }}&ParentBranchName=staging"
24+
1625
ci:
1726
uses: ./.github/workflows/component-library-ci.yml
1827
secrets: inherit

0 commit comments

Comments
 (0)