File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Playground to NuxtHub
1+ name : Deploy Playground
22on : push
33
44jobs :
55 deploy :
6- name : " Deploy to NuxtHub "
6+ name : " Deploy Playground "
77 runs-on : ubuntu-latest
88 environment :
99 name : ${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }}
1010 url : ${{ steps.deploy.outputs.deployment-url }}
1111 permissions :
1212 contents : read
1313 id-token : write
14+ defaults :
15+ run :
16+ working-directory : playground
1417 steps :
1518 - uses : actions/checkout@v4
1619
3033 run : pnpx nuxthub@latest ensure
3134
3235 - name : Build playground
33- run : pnpm dev:prepare && pnpm dev: build
36+ run : pnpm build
3437
3538 - name : Deploy to NuxtHub
3639 uses : nuxt-hub/action@v1
Original file line number Diff line number Diff line change 88 "nuxt" : " ^3.13.2"
99 },
1010 "scripts" : {
11+ "postinstall" : " pnpm -C .. run dev:prepare" ,
1112 "dev" : " nuxi dev" ,
1213 "build" : " nuxi build"
1314 }
You can’t perform that action at this time.
0 commit comments