Skip to content

Commit 7b6ac54

Browse files
authored
Trigger Tailwind Play update after publishing insiders build (#9191)
1 parent 28c7281 commit 7b6ac54

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release-insiders.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,18 @@ jobs:
5656
env:
5757
CI: true
5858
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59+
60+
- name: Trigger Tailwind Play update
61+
uses: actions/github-script@v6
62+
with:
63+
github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
64+
script: |
65+
await github.rest.actions.createWorkflowDispatch({
66+
owner: 'tailwindlabs',
67+
repo: 'play.tailwindcss.com',
68+
ref: 'master',
69+
workflow_id: 'upgrade-tailwindcss.yml',
70+
inputs: {
71+
insidersVersion: '0.0.0-insiders.${{ steps.vars.outputs.sha_short }}'
72+
}
73+
})

0 commit comments

Comments
 (0)