7676 - name : Build/push branch (push)
7777 if : github.event_name == 'push'
7878 run : |
79- pnpm run previews: branch preview/main
79+ node ./scripts/ previews/ branch.ts preview/main
8080 git push --force --set-upstream origin preview/main
8181 echo "💿 pushed installable branch: https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"
8282
@@ -86,17 +86,17 @@ jobs:
8686 env :
8787 GITHUB_TOKEN : ${{ github.token }}
8888 run : |
89- pnpm run previews: branch preview/pr-${{ github.event.pull_request.number }}
89+ node ./scripts/ previews/ branch.ts preview/pr-${{ github.event.pull_request.number }}
9090 git push --force --set-upstream origin preview/pr-${{ github.event.pull_request.number }}
9191 echo "pushed installable branch: https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"
92- pnpm run previews:pr comment ${{ github.event.pull_request.number }} preview/pr-${{ github.event.pull_request.number }}
92+ node ./scripts/ previews/pr.ts comment ${{ github.event.pull_request.number }} preview/pr-${{ github.event.pull_request.number }}
9393
9494 # Build and normal push for experimental releases to avoid unintended force
9595 # pushes over remote branches in case of a branch name collision
9696 - name : Build/push branch (workflow_dispatch)
9797 if : github.event_name == 'workflow_dispatch'
9898 run : |
99- pnpm run previews: branch ${{ inputs.installableBranch }}
99+ node ./scripts/ previews/ branch.ts ${{ inputs.installableBranch }}
100100 git push --set-upstream origin ${{ inputs.installableBranch }}
101101 echo "💿 pushed installable branch: https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"
102102
@@ -106,4 +106,4 @@ jobs:
106106 env :
107107 GITHUB_TOKEN : ${{ github.token }}
108108 run : |
109- pnpm run previews:pr cleanup ${{ github.event.pull_request.number }} preview/pr-${{ github.event.pull_request.number }}
109+ node ./scripts/ previews/pr.ts cleanup ${{ github.event.pull_request.number }} preview/pr-${{ github.event.pull_request.number }}
0 commit comments