{"id":26494018,"url":"https://github.com/dwarvesf/monorepo-deploy-gh-actions-template","last_synced_at":"2026-04-05T23:02:13.437Z","repository":{"id":179170948,"uuid":"661629523","full_name":"dwarvesf/monorepo-deploy-gh-actions-template","owner":"dwarvesf","description":"Turborepo starter template with Vercel CLI Deployment via Github Actions","archived":false,"fork":false,"pushed_at":"2023-07-05T12:58:11.000Z","size":74,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T16:30:24.259Z","etag":null,"topics":["deployment-automation","turborepo","vercel-cli"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dwarvesf.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-03T09:48:05.000Z","updated_at":"2025-11-28T02:29:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e265e94-a082-4e09-b2c9-a144e6390859","html_url":"https://github.com/dwarvesf/monorepo-deploy-gh-actions-template","commit_stats":null,"previous_names":["dwarvesf/monorepo-deploy-gh-actions-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/dwarvesf/monorepo-deploy-gh-actions-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fmonorepo-deploy-gh-actions-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fmonorepo-deploy-gh-actions-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fmonorepo-deploy-gh-actions-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fmonorepo-deploy-gh-actions-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwarvesf","download_url":"https://codeload.github.com/dwarvesf/monorepo-deploy-gh-actions-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fmonorepo-deploy-gh-actions-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31452901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deployment-automation","turborepo","vercel-cli"],"created_at":"2025-03-20T09:58:37.277Z","updated_at":"2026-04-05T23:02:13.425Z","avatar_url":"https://github.com/dwarvesf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n  Turborepo Vercel CLI Deployment\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/dwarvesf\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/-make%20by%20dwarves-%23e13f5e?style=for-the-badge\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsBAMAAADsqkcyAAAAD1BMVEUAAAD///////////////+PQt5oAAAABXRSTlMAQL//gOnhmfMAAAAJcEhZcwAAHsIAAB7CAW7QdT4AAACYSURBVHicndLRDYJAEIThMbGAI1qAYAO6bAGXYP81uSGBk+O/h3Mev4dhWJCkYZqreOi1xoh0eSIvoCaBRjc1B9+I31g9Z2aJ5jkOsYScBW8zDerO/fObnY/FiTl3caOEH2nMzpyZhezIlgqXr2OlOX617Up/nHnPUg0+LHl18YO50d3ghOy1ioeIq1ceTypsjpvYeJohfQEE5WtH+OEYkwAAAABJRU5ErkJggg==\u0026\u0026logoColor=white\" alt=\"Dwarves Foundation\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://discord.gg/dwarvesv\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/-join%20the%20community-%235865F2?style=for-the-badge\u0026logo=discord\u0026\u0026logoColor=white\" alt=\"Dwarves Foundation Discord\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nThis repository is a template for creating Turborepo project that can be deployed to Vercel using the Vercel CLI and GitHub Actions. This template provides a basic structure and configuration for managing dependencies, running scripts, and deploying each application to different Vercel projects. The template also includes GitHub workflows that automates the deployment process whenever a push or pull request is made to the specific branch based on the branch or the tag. By using this template, you can easily set up a Turborepo project that leverages the benefits of Vercel's serverless platform, Turbo and GitHub's collaboration features.\n\n## Apps and Packages\n\n- `docs`: a [Next.js](https://nextjs.org/) app\n- `web`: another [Next.js](https://nextjs.org/) app\n- `ui`: a stub React component library shared by both `web` and `docs` applications\n- `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)\n- `tsconfig`: `tsconfig.json`s used throughout the monorepo\n\n## Utilities\n\nThis Turborepo has some additional tools already setup for you:\n\n- [TypeScript](https://www.typescriptlang.org/) for static type checking\n- [ESLint](https://eslint.org/) for code linting\n- [Prettier](https://prettier.io) for code formatting\n\n## Build\n\nTo build all apps and packages, run the following command:\n\n```bash\ncd my-turborepo\nyarn build\n```\n\n## Develop\n\nTo develop all apps and packages, run the following command:\n\n```bash\ncd my-turborepo\nyarn dev\n```\n\n## Deployment\n\n### Setup in Vercel Project\n\n- Get vercel project id, vercel team, and vercel organization id.\n- Set up Vercel Access Token to use in CI/CD\n- Set up Build Command at the root of project.\n  \n  Ex: `turbo run build --filter=docs --remote-only`\n\n- Output directory for each project\n\n  Ex: `apps/docs/.next`\n\n### Setup Github Secret and Variables\n\n- For each vercel project application will has a specific id and set them to Github Secret, they will be used in environment variable is `VERCEL_PROJECT_ID` for getting the remote env and deploy to Vercel\n  Ex: `VERCEL_WEB_PROJECT_ID` for web application, `VERCEL_DOCS_PROJECT_ID` for docs application ...\n- Add `VERCEL_ORG_ID`, `VERCEL_ACCESS_TOKEN` to Github secrets.\n- If use the remote cache add: `TURBO_TOKEN` to secrets and `TURBO_TEAM` to variables.\n\n### Branch Deployment\n\n- In [release.yml](./.github/workflows/release.yml), update the branch deployment to specific suffix tags matching with `beta`, `alpha` for the purpose of releasing.\n\nDefault: beta is `staging` and alpha is `testing` branch, and leave empty is the `main` branch\n\nFor more detailed information on how to deploy with Vercel CLI, please refer to this article: [Deploy with Vercel CLI](https://brain.d.foundation/Engineering/DevOps/Deploy+Branch+with+Vercel+CLI).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarvesf%2Fmonorepo-deploy-gh-actions-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwarvesf%2Fmonorepo-deploy-gh-actions-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarvesf%2Fmonorepo-deploy-gh-actions-template/lists"}