Updated capitalisation and fix typo

This commit is contained in:
KawaiiPunk 2024-10-01 16:40:45 +01:00
parent e21080fae8
commit 5794d7f9ce
Signed by: kawaiipunk
GPG Key ID: 8664A690E094B219

View File

@ -11,11 +11,11 @@ A template for Autonomic Wordpress projects, including local set-up, and auto-de
- Set PROJECT_NAME to some identifier for the project
5. Make sure `.drone.yml` has the right settings for the server you'd like to
deploy
- change host to the FQDN of the host, likely smol-wp.autonomic.zone
- set service to the docker service name, usually <app_name_snake_case>_app so like display_distribute_com_app
- update source and exec_pre to the path to the theme
- comment exec: composer install if composer isn't in use
- set `deploy_key: from_secret:` to the secret name of the SSH key to access the server. this requires logging into drone as autonomic admin, then checking "organisation secrets" on the repo settings page of any repo in the same org. or you can use drone CLI and do drone orgsecret ls
- Change host to the FQDN of the host, likely smol-wp.autonomic.zone
- Set service to the docker service name, usually <app_name_snake_case>_app so like display_distribute_com_app
- Update source and exec_pre to the path to the theme
- Comment exec: composer install if composer isn't in use
- Set `deploy_key: from_secret:` to the secret name of the SSH key to access the server. this requires logging into drone as autonomic admin, then checking "organisation secrets" on the repo settings page of any repo in the same org. or you can use drone CLI and do drone orgsecret ls
6. Add any custom plugins / themes to `wp-content`
- Copying / moving files into the repo in wp-content, and possibly / probably excluding them from .gitignore
7. "Activate" this repository in Drone