File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 2424
2525 - run : pnpm prepare-deploy
2626
27+ # deployment per branch
28+ - uses : superactions/deploy-branch-action@action
29+ if : ${{ github.ref != 'refs/heads/main' }}
30+ with :
31+ directory : packages/vscode-host/dist
32+
33+ # --- production deployments (only on main)
2734 # deploy app
2835 - uses : ngduc/vercel-deploy-action@master
2936 if : ${{ github.ref == 'refs/heads/main' }}
3744 vercel-args : " --prod"
3845 env :
3946 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
40- - uses : ngduc/vercel-deploy-action@master
41- if : ${{ github.ref != 'refs/heads/main' }}
42- with :
43- vercel-cli : vercel
44- vercel-project-id : ${{ secrets.VERCEL_APP_PROJECT_ID}}
45- vercel-org-id : ${{ secrets.VERCEL_ORG_ID}}
46- vercel-token : ${{ secrets.VERCEL_TOKEN }}
47- github-token : ${{ secrets.GITHUB_TOKEN }}
48- scope : ${{ secrets.VERCEL_ORG_ID }}
49- working-directory : packages/vscode-host/dist
50- vercel-args : " --target staging"
51- env :
52- ACTIONS_ALLOW_UNSECURE_COMMANDS : true
5347
5448 # deploy entrypoint (no preview)
5549 - uses : ngduc/vercel-deploy-action@master
You can’t perform that action at this time.
0 commit comments