File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 # - StandaloneLinux64 # Build a Linux 64-bit standalone.
1919 # - iOS # Build an iOS player.
2020 - Android # Build an Android .apk standalone app.
21- # - WebGL # WebGL.
21+ - WebGL # WebGL.
2222 steps :
2323 - uses : actions/checkout@v4
2424 with :
4242 - uses : actions/upload-artifact@v3
4343 with :
4444 name : Build-${{ matrix.targetPlatform }}
45- path : build/${{ matrix.targetPlatform }}
45+ path : Build/${{ matrix.targetPlatform }}
46+
47+ deployToVercel :
48+ name : Deploy to Vercel
49+ runs-on : ubuntu-latest
50+ needs : buildForAllSupportedPlatforms
51+ if : github.event_name == 'push'
52+ steps :
53+ - uses : actions/checkout@v4
54+ with :
55+ fetch-depth : 0
56+ lfs : true
57+
58+ - name : Download WebGL Build Artifact
59+ uses : actions/download-artifact@v3
60+ with :
61+ name : Build-WebGL
62+ path : Build/WebGL
63+
64+ - name : Deploy to Vercel
65+ uses : amondnet/vercel-action@v20
66+ with :
67+ vercel-token : ${{ secrets.VERCEL_TOKEN }}
68+ vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
69+ vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }}
70+ working-directory : Build/WebGL
You can’t perform that action at this time.
0 commit comments