Skip to content

Commit

Permalink
fix: actually publish the generator cli off main (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
armandobelardo authored Jun 26, 2024
1 parent 841b7b2 commit 41618ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-generator-cli.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish Generator CLI

on:
workflow_call:
push:
tags: ["*"]

env:
PACKAGE_NAME: "@fern-api/generator-cli"
Expand All @@ -13,6 +14,7 @@ env:

jobs:
publish_sdk:
if: github.ref_type == 'tag' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/generator-cli@')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 41618ef

Please sign in to comment.