Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: playground

on:
pull_request_target:
branches: [ main ]
pull_request:

jobs:
build:
Expand All @@ -27,8 +26,11 @@ jobs:
- name: build
run: |
cd ${{ github.workspace }}/teal-playground
echo "VITE_TL_PACKAGE_PATH_URL=https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.head_ref }}/?.lua" >.env.local
echo "VITE_TL_PACKAGE_PATH_URL=https://raw.githubusercontent.com/${HEAD_REPO}/${HEAD_REF}/?.lua" >.env.local
yarn build
env:
HEAD_REPO: ${{ github.event.pull_request.head.repo.full_name }}
HEAD_REF: ${{ github.head_ref }}
- name: netlify deploy
id: netlify-deploy
run: |
Expand Down
Loading