{"id":18978035,"url":"https://github.com/simplificator/deploy-action","last_synced_at":"2026-02-02T22:42:45.756Z","repository":{"id":211270384,"uuid":"728581751","full_name":"simplificator/deploy-action","owner":"simplificator","description":"An action to deploy your applications using Docker Swarm.","archived":false,"fork":false,"pushed_at":"2024-09-21T12:06:02.000Z","size":172,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-01T10:15:31.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/simplificator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-12-07T08:50:22.000Z","updated_at":"2024-12-05T08:45:13.000Z","dependencies_parsed_at":"2024-01-22T09:54:20.898Z","dependency_job_id":"add7e403-9f22-4f6f-a346-16e95e46af4d","html_url":"https://github.com/simplificator/deploy-action","commit_stats":null,"previous_names":["simplificator/deploy-action"],"tags_count":3,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fdeploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fdeploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fdeploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fdeploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplificator","download_url":"https://codeload.github.com/simplificator/deploy-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239978184,"owners_count":19728290,"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-08T15:31:59.144Z","updated_at":"2026-02-02T22:42:40.720Z","avatar_url":"https://github.com/simplificator.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplificator Deploy Action\n\nThis action allows to you deploy any kind of compose definition to a server. The action connects to the server using SSH, initialized Docker Swarm, deploys your compose definition and cleans up unused images and containers afterward.\n\n## Usage\n\nBelow you can find an example workflow on how to deploy your application using our deployment action. We assume that a connection to your server is possible with an SSH key. Password authentication is not supported.\n\n```yaml\nname: Deploy to production\n\non:\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      deployments: write\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.REGISTRY_USERNAME }}\n          password: ${{ secrets.REGISTRY_TOKEN }}\n\n      - name: Install SSH key\n        uses: shimataro/ssh-key-action@v2\n        with:\n          key: ${{ secrets.DEPLOY_SSH_KEY }}\n          known_hosts: ${{ secrets.KNOWN_HOSTS }}\n\n      - name: Deploy to production\n        uses: simplificator/deploy-action@main\n        with:\n          compose-file: docker-compose.yml\n          environment: production\n          environment-url: https://example.com\n          stack-name: my-app\n          ssh-user-at-host: deployer@123.124.125.126\n          secrets: |\n            - name: secret\n              value: ${{ secrets.SECRET }}\n```\n\n## Inputs\n\n| Name               | Description                                                                                                                                                                                     |\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `compose-file`     | Path to your docker compose definition inside the repository.                                                                                                                                   |\n| `environment`      | The name of the environment for the deployment (optional). Used to create a GitHub deployment.                                                                                                  |\n| `environment-url`  | A URL to access your deployment (optional). Used to create a GitHub deployment.                                                                                                                 |\n| `secrets`          | Allows to define a YAML array of Docker secrets which should be created (optional). You need to define it as a multiline YAML string, as this is technically not supported by Actions directly. |\n| `stack-name`       | Name of the Docker Stack that shoud be created on your server.                                                                                                                                  |\n| `ssh-user-at-host` | User@host to connect to (e.g. `hello@myhost.com`)                                                                                                                                               |\n| `ssh-port`         | SSH port to connect to. Defaults to 22 if not defined.                                                                                                                                          |\n\n## License\n\nMIT / BSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplificator%2Fdeploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplificator%2Fdeploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplificator%2Fdeploy-action/lists"}