8000 re-enable play.tailwindcss.com auto updates · wangyaoda/tailwindcss@4cf382d · GitHub
Skip to content

Commit 4cf382d

Browse files
committed
re-enable play.tailwindcss.com auto updates
1 parent 47107be commit 4cf382d

File tree

2 files changed

+29
-31
lines changed

2 files changed

+29
-31
lines changed

.github/workflows/release-insiders.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -388,19 +388,17 @@ jobs:
388388
env:
389389
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
390390

391-
# !! Enable this, once we are cleaning up all the `stable` engine related files.
392-
#
393-
# - name: Trigger Tailwind Play update
394-
# uses: actions/github-script@v6
395-
# with:
396-
# github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
397-
# script: |
398-
# await github.rest.actions.createWorkflowDispatch({
399-
# owner: 'tailwindlabs',
400-
# repo: 'play.tailwindcss.com',
401-
# ref: 'master',
402-
# workflow_id: 'upgrade-tailwindcss.yml',
403-
# inputs: {
404-
# insidersVersion: '0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}'
405-
# }
406-
# })
391+
- name: Trigger Tailwind Play update
392+
uses: actions/github-script@v6
393+
with:
394+
github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
395+
script: |
396+
await github.rest.actions.createWorkflowDispatch({
397+
owner: 'tailwindlabs',
398+
repo: 'play.tailwindcss.com',
399+
ref: 'master',
400+
workflow_id: 'upgrade-tailwindcss.yml',
401+
inputs: {
402+
insidersVersion: '0.0.0-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}'
403+
}
404+
})

.github/workflows/release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -412,18 +412,18 @@ jobs:
412412
env:
413413
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
414414

415-
# - name: Trigger Tailwind Play update
416-
# if: env.RELEASE_CHANNEL == 'latest'
417-
# uses: actions/github-script@v6
418-
# with:
419-
# github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
420-
# script: |
421-
# await github.rest.actions.createWorkflowDispatch({
422-
# owner: 'tailwindlabs',
423-
# repo: 'play.tailwindcss.com',
424-
# ref: 'master',
425-
# workflow_id: 'upgrade-tailwindcss.yml',
426-
# inputs: {
427-
# version: '${{ env.TAILWINDCSS_VERSION }}'
428-
# }
429-
# })
415+
- name: Trigger Tailwind Play update
416+
if: env.RELEASE_CHANNEL == 'latest'
417+
uses: actions/github-script@v6
418+
with:
419+
github-token: ${{ secrets.TAILWIND_PLAY_TOKEN }}
420+
script: |
421+
await github.rest.actions.createWorkflowDispatch({
422+
owner: 'tailwindlabs',
423+
repo: 'play.tailwindcss.com',
424+
ref: 'master',
425+
workflow_id: 'upgrade-tailwindcss.yml',
426+
inputs: {
427+
version: '${{ env.TAILWINDCSS_VERSION }}'
428+
}
429+
})

0 commit comments

Comments
 (0)