{"id":26566294,"url":"https://github.com/code-soup/ziploy-github-action","last_synced_at":"2026-05-02T15:45:38.374Z","repository":{"id":249030629,"uuid":"830454263","full_name":"code-soup/ziploy-github-action","owner":"code-soup","description":"Ziploy is a GitHub Action that automates deployment of a WordPress theme or plugin directly from github to your server via SSH with minimal configuration. For more info please visit ziploy.com","archived":false,"fork":false,"pushed_at":"2025-03-13T08:42:26.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T09:33:50.619Z","etag":null,"topics":["cicd","continuous-deployment","wordpress"],"latest_commit_sha":null,"homepage":"https://www.ziploy.com","language":"Shell","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/code-soup.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-07-18T09:56:31.000Z","updated_at":"2025-03-13T08:38:52.000Z","dependencies_parsed_at":"2025-03-04T08:23:42.942Z","dependency_job_id":"05a626c6-1841-4d81-ae4b-34ddc8242836","html_url":"https://github.com/code-soup/ziploy-github-action","commit_stats":null,"previous_names":["code-soup/ziploy-github-action"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fziploy-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fziploy-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fziploy-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-soup%2Fziploy-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-soup","download_url":"https://codeload.github.com/code-soup/ziploy-github-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999957,"owners_count":20544971,"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":["cicd","continuous-deployment","wordpress"],"created_at":"2025-03-22T18:20:07.757Z","updated_at":"2026-05-02T15:45:33.350Z","avatar_url":"https://github.com/code-soup.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ziploy Github Action\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/code-soup/ziploy-github-action?style=flat-square)\n![License](https://img.shields.io/github/license/code-soup/ziploy-github-action?style=flat-square)\n\nDeploy WordPress Theme or Plugin from GitHub to any hosting using the [Ziploy WordPress plugin](https://www.ziploy.com) and the ziploy-github-action.\n\n---\n\n## Overview\n\nZiploy is a GitHub Action that deploys a WordPress theme or plugin directly from your repository to your hosting environment via SSH with minimal configuration. For more information, please visit [ziploy.com](https://www.ziploy.com).\n\n---\n\n## Usage\n\nAdd the following workflow to your repository (e.g., `.github/workflows/ziploy.yml`):\n\n```yaml\nname: Deploy via Ziploy\non:\n    push:\n        branches:\n            - master\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        container:\n            image: codesoup/beetroot:latest\n\n        steps:\n            - name: Checkout Repository\n              uses: actions/checkout@v4\n\n            - name: Deploy with Ziploy\n              uses: code-soup/ziploy-github-action@0.0.1\n              with:\n                  ziploy-ssh-key: ${{ secrets.ZIPLOY_SSH_KEY }}\n                  ziploy-working-directory: ${{ inputs.ziploy-working-directory }}\n```\n\n---\n\n## Inputs\n\n| Input                      | Description                                                         | Required |\n| -------------------------- | ------------------------------------------------------------------- | -------- |\n| `ziploy-ssh-key`           | SSH Private Key                                                     | Yes      |\n| `ziploy-working-directory` | Path to the working directory if different from the repository root | No       |\n\n---\n\n# Ziploy Working Directory\n\nThe **ziploy-working-directory** parameter is a custom input for the Ziploy GitHub Action that specifies where to locate the `.ziployconfig` file and where to download and run the Ziploy CLI binary. This parameter is requuired when your repository organizes files in subdirectories rather than at the repository root. By providing a relative path, the action can correctly reference its configuration and operate within the intended directory.\n\n## How It Works\n\nBy default, GitHub Actions runs in the repository root. However, the Ziploy GitHub Action accepts a working directory input (typically named `working-directory`) that tells the action to:\n\n-   Look for the `.ziployconfig` file in a specified subdirectory.\n-   Download and execute the Ziploy CLI binary inside that subdirectory.\n\nThis is required if your WordPress theme or plugin is not located at the root of your repository, and your deployment configuration resides in a folder like `wp-content/themes/my-theme`.\n\n## Configuration\n\nPlace a `.ziployconfig` file in your repository root (or in your specified working directory) with the following example contents:\n\n```dot\n# .ziployconfig\n# Unique identifier for deployment\nid = 12345\n\n# Remote host URL where the Ziploy plugin is installed (must include http:// or https://)\norigin = https://www.mywebsite.com\n\n# Deployment method (SSH or HTTP)\nmethod = SSH\n\n# SSH specific options below (only needed if method is SSH)\nssh-host = ssh.mywebsite.com\nssh-user = my-ssh-username\nssh-port = 22\n\n# Enable verbose logging (true or false)\nverbose = false\n```\n\nAfter the SSH key has been saved and the known_hosts file generated, the action will update the configuration file with the file paths for the SSH key and known_hosts file.\nThis ensures action loads correct SSH key and known_hosts when executing SSH commands.\n\n---\n\n## Outputs\n\nThis action does not produce explicit outputs.\n\n---\n\n## Requirements\n\nThis GitHub Action is designed to work exclusively with the Ziploy WordPress Plugin. The Ziploy plugin must be installed and activated on your WordPress website.\n\n---\n\n## License\n\nThis project is licensed under the GNU General Public License Version 3. See the [LICENSE](https://github.com/code-soup/ziploy-github-action/blob/master/LICENSE.txt) file for details.\n\n---\n\n## Author\n\nMaintained by [Code Soup](https://github.com/code-soup)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-soup%2Fziploy-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-soup%2Fziploy-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-soup%2Fziploy-github-action/lists"}