Skip to content

Commit d439e14

Browse files
authored
Fix e2e job in docker-publish workflow (#939)
moved action call into workflow step
1 parent 4752efe commit d439e14

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ jobs:
3939
# This makes most sense for pushes to the master branch, before the actual release takes place.
4040
# Nevertheless, it does provide extra verification for the release case as well.
4141
needs: publish
42-
uses: FAIRDataTeam/github-workflows/.github/actions/repo-dispatch/action.yml@v3
43-
secrets: inherit
44-
with:
45-
secret-token: ${{ secrets.FDP_E2E_REPO_DISPATCH_TOKEN }}
46-
target-repo-name: FAIRDataPoint-E2E-Tests
47-
target-repo-owner: FAIRDataTeam
48-
event-type: trigger-tests
49-
client-payload: |
50-
{
51-
"fdp_version": "${{ github.ref_name }}",
52-
"fdp_client_version": "latest"
53-
}
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: trigger e2e tests
45+
uses: FAIRDataTeam/github-workflows/.github/actions/repo-dispatch@v3
46+
with:
47+
secret-token: ${{ secrets.FDP_E2E_REPO_DISPATCH_TOKEN }}
48+
target-repo-name: FAIRDataPoint-E2E-Tests
49+
target-repo-owner: FAIRDataTeam
50+
event-type: trigger-tests
51+
client-payload: |
52+
{
53+
"fdp_version": "${{ github.ref_name }}",
54+
"fdp_client_version": "latest"
55+
}

0 commit comments

Comments
 (0)