{{csrf_token()}}

Submits build manifests from {{icon("github")}} {{record.repo}} for every {% if task._taskdef == "github_commit_to_build" %} commit. {% else %} pull request. {% endif %} If your repo has a .build.yml file, it will be used as the manifest. If your repo has a .builds directory with several manifests inside, they will all be submitted together.

Options

{% if task._taskdef == "github_commit_to_build" %}
{% else %}
Configuring branch protection rules on GitHub is strongly recommended when using this feature. Read the guide here.
{% if record.private %}
Warning: Enable secrets for this hook with care. Anyone who can submit a pull request will be able to extract secrets from the build environment if you enable secrets for this repository.
{% endif %}
{% if not record.private %} Secrets are disabled for pull requests on public repos. {% else %} {% endif %}
{% endif %}
{% if saved %}
Changes saved.
{% endif %}