How to use GitHub Actions to deploy at any time other than content updates?
In Content Edit,
select GitHub
> Workflow
> Integrate
to deploy using GitHub Actions.
However, if you want to perform a deploy at any timing, you can either use the Smarty plugin to run GitHub Actions or click the [Run Deployment] button in the management screen.
How to Use the Smarty Plugin
By writing the following code in Custom function or Batch process, you can execute GitHub Actions.
{github_deploy result_var='res'}
Example of use
- Deploy regularly with scheduled batch process
- Deploy during API's post-process
- Perform a deploy when a specific action is triggered in the management screen
- Create an API endpoint linked to a custom function and add a deploy button in the dashboard widget
Run Deployment Button
By clicking the [Run Deployment] button on the [KurocoFront] -> [GitHub] page, you can execute GitHub Actions.
Related documents
Support
If you have any other questions, please contact us or check out Our Slack Community.