Only run playground release in main repo (#1396)

This commit is contained in:
Charlie Marsh
2022-12-26 19:45:04 -05:00
committed by GitHub
parent 658cb87ddd
commit 018b9a2977

View File

@@ -41,6 +41,9 @@ jobs:
run: npm run build
working-directory: playground
- name: "Deploy to Cloudflare Pages"
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
if: ${{ env.CF_API_TOKEN }} != null
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}