Trigger Tailwind Play update after publishing insiders build (#9191)
This commit is contained in:
parent
28c7281193
commit
7b6ac54ec8
1 changed files with 15 additions and 0 deletions
15
.github/workflows/release-insiders.yml
vendored
15
.github/workflows/release-insiders.yml
vendored
|
|
@ -56,3 +56,18 @@ jobs:
|
|||
env:
|
||||
CI: true
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Trigger Tailwind Play update
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
|
||||
script: |
|
||||
await github.rest.actions.createWorkflowDispatch({
|
||||
owner: 'tailwindlabs',
|
||||
repo: 'play.tailwindcss.com',
|
||||
ref: 'master',
|
||||
workflow_id: 'upgrade-tailwindcss.yml',
|
||||
inputs: {
|
||||
insidersVersion: '0.0.0-insiders.${{ steps.vars.outputs.sha_short }}'
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue