{"id":16953640,"url":"https://github.com/thisislawatts/wordpress-deployment-example","last_synced_at":"2026-05-13T05:39:42.178Z","repository":{"id":47573882,"uuid":"398388795","full_name":"thisislawatts/wordpress-deployment-example","owner":"thisislawatts","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-26T16:55:17.000Z","size":47,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"staging","last_synced_at":"2025-01-26T08:12:51.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":false,"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/thisislawatts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-20T20:06:15.000Z","updated_at":"2021-08-24T05:54:08.000Z","dependencies_parsed_at":"2022-08-30T04:31:32.762Z","dependency_job_id":null,"html_url":"https://github.com/thisislawatts/wordpress-deployment-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisislawatts%2Fwordpress-deployment-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisislawatts%2Fwordpress-deployment-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisislawatts%2Fwordpress-deployment-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thisislawatts%2Fwordpress-deployment-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thisislawatts","download_url":"https://codeload.github.com/thisislawatts/wordpress-deployment-example/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244794946,"owners_count":20511516,"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-10-13T22:07:35.787Z","updated_at":"2026-05-13T05:39:42.121Z","avatar_url":"https://github.com/thisislawatts.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Overview\n---\n\nAn example repository demonstrating automated deployment to multiple environments.\n\nThese environments are:\n\n* [Production](https://lukes-example-site.onyx-sites.io/)\n* [Preview/staging](https://lukes-example-site-preview.onyx-sites.io/)\n* [Development](https://lukes-example-site-development.onyx-sites.io/)\n\nThere is a lightweight Gitflow being used here to co-ordinate releases. This requires\n2 branches; `staging` and `production`.\n\n\nAims\n---\n\n* No steps outside of GitHub are required trigger or manage deployments\n* Makes GitHub the source of truth for what has been deployed to the Staging and Production environments. The mapping would be\n  * Default branch `staging` =\u003e [Preview/staging](https://lukes-example-site-preview.onyx-sites.io/)\n  * Production branch `production` =\u003e [Production](https://lukes-example-site.onyx-sites.io/)\n\n\nProposed workflow for contributors\n---\n\n1. Developer raise PR from their feature branch against the `staging` branch.\n2. Feature branch will be deployed to [Development] environment\n3. After approval is received, the owning developer merges their PR into the [Preview/staging] branch\n4. Changes to `staging` are deployed to the [Preview/staging] environment\n5. (Optional) In GitHub, a PR is automatically generated to merge the default branch into the production branch. This is known as the Release PR.\n6. An admin user **manually** merges a Release PR into the `production` branch.\n7. Any changes merged to the `production` branch are automatically deployed to the `production` environment.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisislawatts%2Fwordpress-deployment-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisislawatts%2Fwordpress-deployment-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisislawatts%2Fwordpress-deployment-example/lists"}