Skip to content

Commit 9c332e2

Browse files
committed
chore: fix workflow order
1 parent 58d6759 commit 9c332e2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
Build:
12-
if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false }}"
12+
if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false && contains(github.event.head_commit.message, 'chore(release): packages') == false }}"
1313
runs-on: ubuntu-latest
1414
env:
1515
FORCE_PUBLISH: ${{ contains(github.event.head_commit.message, '[force-publish]') }}
@@ -50,9 +50,6 @@ jobs:
5050
- name: Build plugins
5151
run: yarn build
5252

53-
- name: Package Plugins
54-
run: yarn workspace @standardnotes/community-cdn compile
55-
5653
- name: Release
5754
if: ${{ env.FORCE_PUBLISH != 'true' }}
5855
run: yarn run release
@@ -61,5 +58,8 @@ jobs:
6158
if: ${{ env.FORCE_PUBLISH == 'true' }}
6259
run: yarn run release:force
6360

61+
- name: Package Plugins
62+
run: yarn workspace @standardnotes/community-cdn compile
63+
6464
- name: Publish
6565
run: yarn run publish

0 commit comments

Comments
 (0)