diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index 75349cfe7..af164663b 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -388,19 +388,17 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # !! Enable this, once we are cleaning up all the `stable` engine related files. - # - # - 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-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}' - # } - # }) + - 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-${{ env.RELEASE_CHANNEL }}.${{ env.SHA_SHORT }}' + } + }) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80cddbc3c..c10071385 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -412,18 +412,18 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - # - name: Trigger Tailwind Play update - # if: env.RELEASE_CHANNEL == 'latest' - # 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: { - # version: '${{ env.TAILWINDCSS_VERSION }}' - # } - # }) + - name: Trigger Tailwind Play update + if: env.RELEASE_CHANNEL == 'latest' + 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: { + version: '${{ env.TAILWINDCSS_VERSION }}' + } + })