Skip to content

Commit ab8538e

Browse files
committed
fix
1 parent fe67a6d commit ab8538e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ jobs:
129129
- name: Publish current stable packages as latest
130130
if: needs.release-plan.outputs.publish-tag == ''
131131
run: |
132-
yarn workspaces foreach -W --no-private \
132+
yarn workspaces foreach -W --no-private --topological \
133133
npm publish --provenance --tolerate-republish
134134
135135
- name: Publish packages as ${{ needs.release-plan.outputs.publish-tag }}
136136
if: needs.release-plan.outputs.publish-tag != ''
137137
run: |
138-
yarn workspaces foreach -W --no-private \
138+
yarn workspaces foreach -W --no-private --topological \
139139
npm publish --provenance --tolerate-republish \
140140
--tag "${{ needs.release-plan.outputs.publish-tag }}"
141141
@@ -212,5 +212,7 @@ jobs:
212212
working-directory: rescript-lang.org
213213

214214
- name: Update Website Playground
215-
run: curl -X POST "${{ secrets.CLOUDFLARE_PAGES_DEPLOYMENT_HOOK }}"
215+
run: >-
216+
curl --fail-with-body -X POST
217+
"${{ secrets.CLOUDFLARE_PAGES_DEPLOYMENT_HOOK }}"
216218
shell: bash

0 commit comments

Comments
 (0)