{"id":19640856,"url":"https://github.com/enrico204/portainer-git-redeploy","last_synced_at":"2025-08-03T06:33:51.535Z","repository":{"id":94134830,"uuid":"531483650","full_name":"Enrico204/portainer-git-redeploy","owner":"Enrico204","description":"A very small utility for triggering the Git re-deploy for stacks in Portainer via CLI.","archived":false,"fork":false,"pushed_at":"2023-02-01T23:00:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-02T02:59:56.892Z","etag":null,"topics":["devops","git","portainer","portainer-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Enrico204.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,"zenodo":null}},"created_at":"2022-09-01T11:13:21.000Z","updated_at":"2022-09-01T11:16:49.000Z","dependencies_parsed_at":"2023-03-13T17:05:43.511Z","dependency_job_id":null,"html_url":"https://github.com/Enrico204/portainer-git-redeploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Enrico204/portainer-git-redeploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enrico204%2Fportainer-git-redeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enrico204%2Fportainer-git-redeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enrico204%2Fportainer-git-redeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enrico204%2Fportainer-git-redeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Enrico204","download_url":"https://codeload.github.com/Enrico204/portainer-git-redeploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enrico204%2Fportainer-git-redeploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268505374,"owners_count":24260949,"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-08-03T02:00:12.545Z","response_time":2577,"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":["devops","git","portainer","portainer-api"],"created_at":"2024-11-11T14:07:00.897Z","updated_at":"2025-08-03T06:33:51.461Z","avatar_url":"https://github.com/Enrico204.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portainer Git Redeploy\n\nA very small utility for triggering the Git re-deploy for stacks in Portainer\nvia CLI. It was meant to be used in CD pipelines.\n\n## Usage (OCI/docker container)\n\nA container image is available on Docker Hub: `docker.io/enrico204/portainer-git-redeploy`\n\n## Usage (executable)\n\nExample with environment variables:\n```shell\n$ export PORTAINER_STACK_ID=1\n$ export PORTAINER_URL=https://portainer:9443\n$ export PORTAINER_ACCESS_TOKEN=abcdef\n$ portainer-git-redeploy\n```\n\nExample using CLI options (**note that writing your access token to the CLI is a BAD IDEA**):\n```shell\n$ portainer-git-redeploy -url https://portainer:9443 -stack-id 1 -access-token abcdef\n```\n\nTo use a custom certificate file, use `PORTAINER_SSL_CERT_FILE` to appending a\ncertificate to the system CA store, or `SSL_CERT_FILE` for replacing the whole\nCA store:\n\n```shell\n$ export PORTAINER_SSL_CERT_FILE=~/certificate.pem\n$ portainer-git-redeploy -url https://portainer:9443 -stack-id 1 -access-token abcdef\n```\n\n# LICENSE\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenrico204%2Fportainer-git-redeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenrico204%2Fportainer-git-redeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenrico204%2Fportainer-git-redeploy/lists"}