#Deploying through Github Actions

1 messages · Page 1 of 1 (latest)

naive peak
#

My team wants to deploy Needle through a CI/CD pipeline such that when a CD script is run, the Needle builds and deploys on S3.
While trying to do this, I am running into problems with the Needle-engine dependency. Should I add the engine to the repo or is there a standard/better way to go about this?

pine yew
#

Hey, what problems are you running into?

naive peak
# pine yew 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.

marble bone
#

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)

naive peak