Skip to content

Commit

Permalink
Fix dc-api-types production PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed May 8, 2024
1 parent 7828317 commit d46f81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/production-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:
jobs:
Push-To-Types-Repo-Production:
if: github.event.pull_request.merged == true
if: (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: "${{ env.TMP_SRCDIR }}"
path: "${{ env.TMP_SRCDIR }}/node"
- name: Generate Typescript file
working-directory: "${{ env.TMP_SRCDIR }}/node"
run: |
Expand Down

0 comments on commit d46f81c

Please sign in to comment.