File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 2323 - name : Build 🔧
2424 env :
2525 DEFOLD_BOB_SHA1 : ${{ secrets.DEFOLD_BOB_SHA1 }}
26+ PLATFORM : js-web
27+ ARCHITECTURES : wasm-web
2628 run : |
2729 lsb_release -a
2830
@@ -35,20 +37,20 @@ jobs:
3537 java -jar build/bundle/bob.jar --version
3638
3739 # Build the project
38- java -jar build/bundle/bob.jar --email a@b.com --auth 123 --texture-compression true --bundle-output build/bundle/js-web --platform js-web --architectures wasm-web --archive --variant debug resolve build bundle
40+ java -jar build/bundle/bob.jar --email a@b.com --auth 123 --texture-compression true --bundle-output build/bundle/${PLATFORM} --platform ${PLATFORM} --architectures ${ARCHITECTURES} --archive --variant debug resolve build bundle
3941
4042 # Move to the public directory
41- mv build/bundle/js-web /* build/bundle/public
43+ mv build/bundle/${PLATFORM} /* build/bundle/public
4244
43- - name : Upload Artifact 📦
44- uses : actions/upload-artifact@v4
45- with :
46- name : bundle
47- path : build/bundle/public
48-
49- # - name: Deploy to Pages 🚀
50- # uses: JamesIves/github-pages-deploy-action@v4
45+ # - name: Upload Artifact 📦
46+ # uses: actions/upload-artifact@v4
5147 # with:
52- # branch: gh-pages
53- # folder: build/bundle/public
54- # if: github.ref == 'refs/heads/main'
48+ # name: bundle
49+ # path: build/bundle/public
50+
51+ - name : Deploy to Pages 🚀
52+ uses : JamesIves/github-pages-deploy-action@v4
53+ with :
54+ branch : gh-pages
55+ folder : build/bundle/public
56+ if : github.ref == 'refs/heads/main'
You can’t perform that action at this time.
0 commit comments