{"repo":"TryGhost/action-deploy-theme","free":true,"listed":false,"github":"https://github.com/TryGhost/action-deploy-theme","clone":"git clone https://github.com/TryGhost/action-deploy-theme.git","description":"GitHub Action that packages and deploys Ghost themes through the Ghost Admin API","language":"TypeScript","stars":391,"topics":["ghost","github-actions","github-action","ghost-theme"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Deploy your Ghost Theme from GitHub This GitHub Action packages and deploys your Ghost theme from GitHub to a Ghost site through the Ghost Admin API. --- &nbsp; Getting Started 1. Generate a set of Ghost Admin API credentials, by configuring a new Custom Integration in Ghost Admin &rarr; Integrations. 2. On GitHub, navigate to your theme repository &rarr; Settings &rarr; Secrets and variables &rarr; Actions. Create a secret called GHOST ADMIN API URL containing the API URL and another one called GHOST ADMIN API KEY containing the Admin API Key. Both must be copied exactly from Ghost Admin &rarr; Integrations. 3. Once your secrets are in place, copy this example config into .github/workflows/deploy-theme.yml . Then commit and push your changes: This workflow deploys the theme after every push to master or main . To use a different trigger, see GitHub's workflow trigger documentation. Configuration The with section must provide the API URL and key. Store both values under the repository's Settings &rarr; Secrets and variables &rarr; Actions , then reference them with the secrets context as shown above. See GitHub's guide to using secrets in GitHub Actions. Key Value Information Type Required ------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------- -------- api-url The base URL of your Ghost Admi","default_branch":null,"files":null,"tree":[],"storefront":"/r/TryGhost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TryGhost/action-deploy-theme/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}