#Deploying through Github Actions
1 messages · Page 1 of 1 (latest)
Hey, what problems are you running into?
Let me explain our process. So we installed Needle and then just tried to add the web project dir (Needle/<project-name>) to a git repo. Now, I can't figure out a way to build on the fly using Github Actions.
Are you checking in the files in the assets folder too? If not you would need to run a unity export on github first and then run one of the npm build scripts.
Out of the box you can build without compressing the files (what we call the development build). To be able to compress you would need to add a script that runs the transform script that comes with the needle gltf pipeline package. You need to pass it the directory you want to be compressed (that is the dist directory by default)
It's really confusing as a beginner to go about this. Is there a way I can make Github actions do the exporting and the compressing? Like an npm script which I can have Github actions run.