Specifically designed for Jetpack.
This Action will build a production version of a branch, and commit the result to another branch.
Required The branch name of the branch that you would like to build from.
Default: master
Required The branch name of the branch that you would like to commit and deploy to.
Custom commit message. default "Automated commit from action""
- name: Build production version of Master
uses: Automattic/action-jetpack-build-to-branch@master
with:
pull_branch: 'master'
push_branch: 'master-built'
commit_message: 'Build master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required