{"id":44697917,"url":"https://github.com/syntro-opensource/action.deploy.silverstripe","last_synced_at":"2026-02-15T08:35:27.169Z","repository":{"id":39994514,"uuid":"494000709","full_name":"syntro-opensource/action.deploy.silverstripe","owner":"syntro-opensource","description":"Action to deploy a silverstripe project to a host using Ansible","archived":false,"fork":false,"pushed_at":"2025-05-12T07:20:04.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T08:41:28.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syntro-opensource.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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-05-19T09:15:47.000Z","updated_at":"2025-05-12T07:19:20.000Z","dependencies_parsed_at":"2024-05-16T06:07:12.788Z","dependency_job_id":null,"html_url":"https://github.com/syntro-opensource/action.deploy.silverstripe","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/syntro-opensource/action.deploy.silverstripe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntro-opensource%2Faction.deploy.silverstripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntro-opensource%2Faction.deploy.silverstripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntro-opensource%2Faction.deploy.silverstripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntro-opensource%2Faction.deploy.silverstripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syntro-opensource","download_url":"https://codeload.github.com/syntro-opensource/action.deploy.silverstripe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syntro-opensource%2Faction.deploy.silverstripe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29473718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-15T08:35:26.504Z","updated_at":"2026-02-15T08:35:27.160Z","avatar_url":"https://github.com/syntro-opensource.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action: Deploy Silverstripe\n\nDeploys a Github repository to a host using ansible and the\n[`ansible.silverstripe`](https://github.com/syntro-opensource/ansible.silverstripe)\nrole.\n\n## Inputs\n\n| Name                 | Required | Secret | Default                                       | Description                                                                               |\n| -------------------- |:--------:|:------:| --------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| `host`               |    ✅    |        | -                                             | The hostname or IP to deploy to                                                           |\n| `host_user`          |    ✅    |        | -                                             | The username with which to log in                                                         |\n| `private_key`        |    ✅    |   🔐   | -                                             | The private key to log in (passwords not supported)                                       |\n| `working_dir`        |    ✅    |        | -                                             | The directory in which to deploy. The webroot will be in a subdirectory.                  |\n| `base_url`           |    ✅    |        | -                                             | The `SS_BASE_URL` of the page                                                             |\n| `admin_username`     |    ✅    |   🔐   | -                                             | The username of the default admin                                                         |\n| `admin_password`     |    ✅    |   🔐   | -                                             | The Password of the default admin                                                         |\n| `database_class`     |          |        | `MySQLPDODatabase`                            | The name of the database class to use                                                           |\n| `database_name`      |    ✅    |        | -                                             | The name of the database to use                                                           |\n| `database_username`  |    ✅    |   🔐   | -                                             | The username to access the database                                                       |\n| `database_password`  |    ✅    |   🔐   | -                                             | The password to access the database                                                       |\n| `current_dir`        |          |        | `html`                                        | The name of the webroot. the webroot will be at `\u003c working_dir \u003e/\u003c current_dir \u003e`         |\n| `database_server`    |          |        | `localhost`                                   | The database server                                                                       |\n| `environment_type`   |          |        | `live`                                        | One of `dev`, `test` and `live`.                                                          |\n| `htaccess_template`  |          |        | `htaccess.public.j2`                          | Used to render a custom htaccess in the webroot. Path is relative to your repository root |\n| `project_repository` |          |        | `git@github.com:${{ github.repository }}.git` | Use a custom origin. This can be used to use custom configs for diffrent repositories.    |\n| `composer_command`   |          |        | -                                             | Use a custom composer command instead of the installed one |\n| `error_log`          |          |        | `../../../logs/ss_log.log`                    | The Location of the error log                                                             |\n\n\u003e This is an ongoing project, in the future we want to add more features of the [`ansible.silverstripe`](https://github.com/syntro-opensource/ansible.silverstripe) role.\n\n## Usage Example\n\nTo make use of this action, add the following to your workflows:\n\n```yml\n# .github/workflows/deploy.yml\nname: 🚀 Deployment\non:\n  release:\n    types:\n      - published\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - .chglog/**\n      - .github/**\n      - '!.github/workflows/deploy.yml'\n      - public/**\n      - '*.md'\njobs:\n  production:\n    name: 👔 Deploy to Production\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'release' }}\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Deploy to server\n      uses: syntro-opensource/action.deploy.silverstripe@master\n      with:\n        host: example.com\n        host_user: demouser\n        private_key: ${{ secrets.PRIVATE_KEY }}\n        working_dir: path/to/deployment                 # see https://github.com/syntro-opensource/ansible.silverstripe#the-webroot-and-the-files-generated\n        base_url: https://example.com\n        admin_username: ${{ secrets.SS_ADMIN_USER }}\n        admin_password: ${{ secrets.SS_ADMIN_PASS }}\n        database_server: localhost\n        database_name: silverstripedb\n        database_username: ${{ secrets.SS_DB_USER }}\n        database_password: ${{ secrets.SS_DB_PASS }}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyntro-opensource%2Faction.deploy.silverstripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyntro-opensource%2Faction.deploy.silverstripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyntro-opensource%2Faction.deploy.silverstripe/lists"}