{"id":28152730,"url":"https://github.com/lando/auto-deploy-action","last_synced_at":"2025-05-15T05:12:00.290Z","repository":{"id":43683291,"uuid":"462831345","full_name":"lando/auto-deploy-action","owner":"lando","description":"A GitHub action that auto deploys new versions of (currently only) node packages from their source repo to various target repos.","archived":false,"fork":false,"pushed_at":"2024-04-05T14:31:42.000Z","size":76,"stargazers_count":4,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T23:01:54.368Z","etag":null,"topics":["devops","github-actions"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lando.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["lando","pirog"],"patreon":"devwithlando","open_collective":"devwithlando","custom":"https://lando.dev/join"}},"created_at":"2022-02-23T17:08:21.000Z","updated_at":"2024-10-26T07:16:37.000Z","dependencies_parsed_at":"2023-01-11T17:22:26.699Z","dependency_job_id":"70effb77-ef66-4c3e-8079-ce3aad46ab9c","html_url":"https://github.com/lando/auto-deploy-action","commit_stats":{"total_commits":66,"total_committers":2,"mean_commits":33.0,"dds":"0.10606060606060608","last_synced_commit":"f22094a1b2128423698990813a52aca790b46290"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Fauto-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Fauto-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Fauto-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lando%2Fauto-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lando","download_url":"https://codeload.github.com/lando/auto-deploy-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253702019,"owners_count":21949913,"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":["devops","github-actions"],"created_at":"2025-05-15T05:12:00.226Z","updated_at":"2025-05-15T05:12:00.284Z","avatar_url":"https://github.com/lando.png","language":null,"readme":"# Autodeploy Action\n\nThis is a GitHub action that allows you to automatically deploy new packages from a source repo to various dependent repos.\n\nA concrete example would be you have 30 [VitePress](https://vitepress.dev/) sites that rely on a [custom theme](https://vitepress-theme-default-plus.lando.dev/). When that custom theme pushes a new stable release to `npm` it also automatically opens a pull request on all 30 sites with the updated `npm` pacakge.\n\nIn this way it is _sorta_ like `dependapot` except that the source repo **pushes** updates to its dependents as opposed to the dependent periodically looking for upstream updates.\n\nIt currently comes with the following caveats:\n\n#### Caveats\n\n* Only works with `yarn` and `npm` as package managers (would love to add support for `composer`, `pip` etc)\n* Only works with `npm`, `yarn` and `github` as \"upstream\" registries\n* Only works `GitHub` repo to `GitHub` repo\n* User is responsible for installing any underlying deps (eg `node` and `yarn`) required by this action\n\n## Required Inputs\n\nThese keys must be set correctly for the action to work.\n\n| Name | Description | Example Value |\n|---|---|---|\n| `slug` | The GitHub repo slug you want to deploy the update package to.  | `lando/php` |\n\n## Optional Inputs\n\nThese keys are set to sane defaults but can be modified as needed.\n\n| Name | Description | Default | Example |\n|---|---|---|---|\n| `args` | Extra options to pass into the manager update command. | \"\" | `--dev` |\n| `branch` | The branch to deploy the updated package to. | Automatically created. If `pr` is `false` then the Default branch for `slug`. | `master` |\n| `dirs` | The dirs containing a package.json to update. | `./` | `./,./subdir1,./subdir2` |\n| `manager` | The package manager to use for updating. | `npm` | `yarn` \\| `npm` |\n| `package` | The name of the package to update. | Set based on `registry` | `@lando/php` |\n| `pr` | Open a pull request with the change. | `true` | `false` |\n| `pr-base` | The base branch to open the PR against. | `main` | `master` |\n| `registry` | The place we should get the updated package from. | `npm` | `yarn` \\| `npm` \\| `github` |\n| `separator` | The character that separates the `package` and `version` in the package manager update command  | Set based on `registry` | `@` |\n| `token` | [GitHub Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) with permission to `read/write` to target `slug` | `${{ github.token }}`. | `MYTOKEN` |\n| `version` | The version of the package to update to. | Set based on `registry` | `1.3.2` |\n\n## Testing Inputs\n\nThese keys are usually not needed but can be useful for testing.\n\n| Name | Description | Default | Example |\n|---|---|---|---|\n| `deploy` | Toggle to disable deployment. Will `--dry-run` the `git push`. | `true` | `false` |\n| `update` | Toggle to disable updating. | `true` | `false` |\n\n## Outputs\n\nThese outputs are mostly used internally but are nonetheless available.\n\n```yaml\noutputs:\n  branch:\n    description: \"The branch to deploy to.\"\n    value: ${{ steps.auto-deploy-action.outputs.branch }}\n  package:\n    description: \"The package name from user or manifest file to auto deploy.\"\n    value: ${{ steps.auto-deploy-action.outputs.package }}\n  version:\n    description: \"The package version from user or manifest file to auto deploy.\"\n    value: ${{ steps.auto-deploy-action.outputs.version }}\n  separator:\n    description: \"The separator between package and version\"\n    value: ${{ steps.auto-deploy-action.outputs.separator }}\n```\n\n## Changelog\n\nWe try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/auto-deploy-action/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/auto-deploy-action/releases).\n\n## Releasing\n\nCreate a release and publish to [GitHub Actions Marketplace](https://docs.github.com/en/enterprise-cloud@latest/actions/creating-actions/publishing-actions-in-github-marketplace). Note that the release tag must be a [semantic version](https://semver.org/).\n\n## Maintainers\n\n* [@pirog](https://github.com/pirog)\n* [@reynoldsalec](https://github.com/reynoldsalec)\n\n## Contributors\n\n\u003ca href=\"https://github.com/lando/auto-deploy-action/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=lando/auto-deploy-action\" /\u003e\n\u003c/a\u003e\n\nMade with [contrib.rocks](https://contrib.rocks).\n\n## Other Resources\n\n* [Important advice](https://www.youtube.com/watch?v=WA4iX5D9Z64)\n","funding_links":["https://github.com/sponsors/lando","https://github.com/sponsors/pirog","https://patreon.com/devwithlando","https://opencollective.com/devwithlando","https://lando.dev/join"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flando%2Fauto-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flando%2Fauto-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flando%2Fauto-deploy-action/lists"}