{"id":21301457,"url":"https://github.com/minddocdev/deploy-action","last_synced_at":"2025-06-22T00:41:43.619Z","repository":{"id":44036395,"uuid":"225229303","full_name":"minddocdev/deploy-action","owner":"minddocdev","description":"Github action that manages kubernetes based deployments","archived":false,"fork":false,"pushed_at":"2023-07-18T20:17:27.000Z","size":20418,"stargazers_count":0,"open_issues_count":19,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-19T03:45:34.656Z","etag":null,"topics":["github-actions","github-actions-typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minddocdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2019-12-01T20:53:16.000Z","updated_at":"2020-03-02T09:52:14.000Z","dependencies_parsed_at":"2024-11-17T15:36:28.146Z","dependency_job_id":"20c88baf-c2d6-425a-bae2-19a6427a973a","html_url":"https://github.com/minddocdev/deploy-action","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":"0.20588235294117652","last_synced_commit":"b0d7b54b212b08fdfa2cde37da349bcedf7c4f3b"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fdeploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fdeploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fdeploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fdeploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minddocdev","download_url":"https://codeload.github.com/minddocdev/deploy-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243772206,"owners_count":20345601,"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":["github-actions","github-actions-typescript"],"created_at":"2024-11-21T15:46:00.888Z","updated_at":"2025-03-15T18:25:24.650Z","avatar_url":"https://github.com/minddocdev.png","language":"TypeScript","readme":"# Deploy Action\n\nDeploys a helm chart to a Kubernetes cluster.\n\nInstall the dependencies\n\n```bash\nyarn install\n```\n\nBuild the typescript\n\n```bash\nyarn build\n```\n\nRun the tests\n\n```bash\nyarn test\n```\n\n## Usage\n\nExample of deployment with helm based on a Github deployment trigger, that pushes\nreleases to sentry and notifies Slack.\n\n```yaml\non: ['deployment']\n\n#...\n\njobs:\n  deploy:\n    name: deploy ${{ github.event.deployment.payload.app }} to ${{ github.event.deployment.environment }}\n    runs-on: ubuntu-latest\n    steps:\n      # ...\n      - name: Check chart\n        uses: minddocdev/deploy-action@master\n        with:\n          config: |\n            {\n              \"app\": \"myApp\",\n              \"appUrl\": \"https://myApp.minddoc.com\",\n              \"chart\": \"myhelmrepo/myapp\",\n              \"namespace\": \"apps\",\n              \"release\": \"myapp\",\n              \"valueFiles\": [\n                \"myapp-values/values.yaml\",\n                \"myapp-values/values-staging.yaml\"\n              ],\n              \"values\": {\n                \"image\": {\n                  \"tag\": ${{ github.sha }}\n                }\n              }\n            }\n          # Or you could specify the config in the deployment payload, like:\n          # config: ${{ github.event.deployment.payload }}\n          environment: ${{ github.event.deployment.environment }}\n          helmRepoName: myhelmrepo\n          helmRepoUrl: https://raw.githubusercontent.com/mycompany/myhelmrepo/master/helm/releases\n          helmRepoUsername: myhelmrepouser\n          helmRepoPassword: ${{ secrets.HELM_REPO_TOKEN }}\n          kubeConfig: |\n            apiVersion: v1\n            clusters:\n            - cluster:\n                certificate-authority-data: ${{ secrets.KUBE_CERT }}\n                server: ${{ secrets.KUBE_SERVER }}\n              name: myCluster\n            contexts:\n            - context:\n                cluster: myCluster\n                namespace: default\n                user: ci\n              name: myCluster\n            current-context: myCluster\n            kind: Config\n            preferences: {}\n            users:\n            - name: ci\n              user:\n                token: ${{ secrets.KUBE_USER_TOKEN }}\n          sentryAuthToken: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          sentryOrg: mysentryorg\n          slackWebhook: ${{ secrets.SLACK_WEBHOOK }}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fdeploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminddocdev%2Fdeploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fdeploy-action/lists"}