Removes source files, then pushes a commit to the release branch.
Required Email address to associate with the release commit.
Required GitHub username to associate with the release commit.
Optional A GitHub token with the repo
scope, or with the contents: write
fine-grained permission. By default, token
from the github
context is used, but this GitHub Actions-provided token is scoped to the repo containing your workflow. If you are releasing another repo, you must provide GITHUB_TOKEN
.
Optional Release branch name. Default: "dist"
.
- name: Update release branch
uses: smockle/action-release-branch@main
with:
email: ${{ secrets.EMAIL }}
username: ${{ secrets.USERNAME }}