diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71830fc2..05e0fde4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,6 @@ name: i18nify Release on: workflow_dispatch: push: - branches: [master] env: GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} @@ -26,15 +25,13 @@ jobs: - name: Create Release Pull Request & Publish packages id: changesets uses: changesets/action@v1 - if: github.event_name != 'workflow_dispatch' # only run on master merges env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} with: publish: yarn release - commit: 'build(i18nify): update version' - title: 'build(i18nify): update version' + commit: 'build(i18nify-js): update version' + title: 'build(i18nify-js): update version' - name: Publish to public npm registry - if: steps.changesets.outputs.published == 'true' || github.event_name == 'workflow_dispatch' # run when the package is published via changeset or if a release is triggered manually. env: NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} run: yarn publish-npm