{"id":19256630,"url":"https://github.com/instant-dev/deploy","last_synced_at":"2025-06-12T11:03:20.215Z","repository":{"id":199420231,"uuid":"702839817","full_name":"instant-dev/deploy","owner":"instant-dev","description":"Deploy packages to AWS ElasticBeanstalk","archived":false,"fork":false,"pushed_at":"2023-10-10T23:24:46.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T17:46:35.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/instant-dev.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-10-10T05:51:59.000Z","updated_at":"2023-10-10T05:52:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"7615428d-85ea-4657-a96a-70fbfc2d4c8f","html_url":"https://github.com/instant-dev/deploy","commit_stats":null,"previous_names":["instant-dev/deploy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/instant-dev/deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-dev%2Fdeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-dev%2Fdeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-dev%2Fdeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-dev%2Fdeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instant-dev","download_url":"https://codeload.github.com/instant-dev/deploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instant-dev%2Fdeploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259453469,"owners_count":22860083,"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","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-09T19:06:24.841Z","updated_at":"2025-06-12T11:03:20.170Z","avatar_url":"https://github.com/instant-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple deployments\n![npm version](https://img.shields.io/npm/v/@instant.dev/deploy?label=) ![Build Status](https://app.travis-ci.com/instant-dev/deploy.svg?branch=main)\n\n## Deploy to AWS ElasticBeanstalk\n\nDeploy packages to AWS Elastic Beanstalk easily. Used by the\n[Instant CLI](https://github.com/instant-dev/instant) to automate Elastic Beanstalk deployments.\n\nIt can be used with the [@instant.dev/encrypt](https://github.com/instant-dev/encrypt) to\nautomatically encrypt `.env` files stored in plaintext, with the encryption keys\nloaded into ElasticBeanstalk at runtime as environment variables.\n\n```javascript\nimport { DeploymentManager } from '@instant.dev/deploy';\nimport EncryptionTools from '@instant.dev/encrypt';\n\nconst envName = `staging`;\n\n// Prepare to encrypt .env file\nconst et = new EncryptionTools();\n// Loads deployment variables from \".deployconfig.staging\" INI-format file\nconst dm = new DeploymentManager(`.deployconfig.${envName}`);\n\n// Encrypts `.env.staging` as `.env` in final package\n// Also deletes all files matching `.env.*` from final package\nconst {files, env} = et.encryptEnvFileFromPackage(\n  // Reads all files in this directory, stores them in files {} object\n  dm.readPackageFiles('~/projects/instant.dev/test-empty'),\n  `.env.${envName}`,\n  `.env`,\n  /^\\.env\\..*$/\n);\n\n// Deploys to ElasticBeanstalk\nlet deployResult = await dm.deployToElasticBeanstalk(files, envName, env);\n/**\n{\n  app_url: 'my-app.elasticbeanstalk.com',\n  dashboard_url: 'https://console.aws.amazon.com/...'\n}\n */\n```\n\n## Acknowledgements\n\nSpecial thank you to [Scott Gamble](https://x.com/threesided) who helps run all\nof the front-of-house work for instant.dev 💜!\n\n| Destination | Link |\n| ----------- | ---- |\n| Home | [instant.dev](https://instant.dev) |\n| GitHub | [github.com/instant-dev](https://github.com/instant-dev) |\n| Discord | [discord.gg/puVYgA7ZMh](https://discord.gg/puVYgA7ZMh) |\n| X / instant.dev | [x.com/instantdevs](https://x.com/instantdevs) |\n| X / Keith Horwood | [x.com/keithwhor](https://x.com/keithwhor) |\n| X / Scott Gamble | [x.com/threesided](https://x.com/threesided) |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstant-dev%2Fdeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstant-dev%2Fdeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstant-dev%2Fdeploy/lists"}