{"id":18652948,"url":"https://github.com/needle-engine/deploy-to-netlify","last_synced_at":"2025-10-05T21:26:38.704Z","repository":{"id":166836101,"uuid":"631576100","full_name":"needle-engine/deploy-to-netlify","owner":"needle-engine","description":"Example project for using Netlify's continuous deployment with a Needle Engine web project","archived":false,"fork":false,"pushed_at":"2023-04-23T18:36:05.000Z","size":303,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T22:35:39.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/needle-engine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-23T13:12:26.000Z","updated_at":"2023-04-23T16:07:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7aa8c30-b43b-44c2-99bc-f12272a6cbb4","html_url":"https://github.com/needle-engine/deploy-to-netlify","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.4666666666666667,"last_synced_commit":"b0b372ddad8f21267753343894964694ec490903"},"previous_names":["needle-engine/deploy-to-netlify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/needle-engine/deploy-to-netlify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needle-engine%2Fdeploy-to-netlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needle-engine%2Fdeploy-to-netlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needle-engine%2Fdeploy-to-netlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needle-engine%2Fdeploy-to-netlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/needle-engine","download_url":"https://codeload.github.com/needle-engine/deploy-to-netlify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needle-engine%2Fdeploy-to-netlify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278524477,"owners_count":26001229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T07:09:31.846Z","updated_at":"2025-10-05T21:26:38.677Z","avatar_url":"https://github.com/needle-engine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Needle Engine on Netlify\nThis repository contains a vite based web project generated in Unity ([Live Link](https://needle-engine-netlify-sample.netlify.app/)).  \nFor use Netlify's continuous deployment pipeline the following changes need to be made:\n- Make sure gzip is disabled in `vite.config.js`.   \n  → Remove this line `useGzip(needleConfig) ? viteCompression({ deleteOriginFile: true }) : null` in `vite.config.js` in your project\n\n## Setup on Netlify\n\n0) [Create a new project on netlify](https://app.netlify.com/start/repos?entryPoint=from%20TeamOverview) using a git provider like Github\n1) Go to \"Site settings/Build \u0026 deploy\" and click on \"Continous deployment\"\n2) In \"Build Settings\" enter:\n    - Build command: `npm run build:dev`\n    - Publish directory: `dist`\n\n![\"netlify settings screenshot\"](./documentation~/settings-screenshot.webp)\n\n## Gotchas\n- Currently with continuous deployment you will not be able to use KTX2 compression using our production build post processing (this is run via `npm run build:production`)\n\n## Troubleshooting\n### Deployment fails\n- Try deleting your package.lock.json in your project (and optionally add it to your `.gitignore` file)\n\n\n## Internal\n- [Netlify project url](https://app.netlify.com/sites/needle-engine-netlify-sample)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneedle-engine%2Fdeploy-to-netlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneedle-engine%2Fdeploy-to-netlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneedle-engine%2Fdeploy-to-netlify/lists"}