s0 / git-publish-subdir-action

GitHub Action to push a subdirectory as a branch to any git repo (e.g. for GitHub Pages)
https://github.com/marketplace/actions/push-git-subdirectory-as-branch
MIT License
208 stars 36 forks source link

Custom commit message parameters are blank #98

Open kg583 opened 7 months ago

kg583 commented 7 months ago

I am using the following workflow file to build files that live on another branch:

- name: Save to built branch
  uses: s0/git-publish-subdir-action@develop
  env:
    REPO: self
    BRANCH: built
    FOLDER: built
    SKIP_EMPTY_COMMITS: true
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    MESSAGE: "Build {sha}: {msg}"

However, the generated commit message does not substitute the SHA or source commit message:

1f3d40f Build : - kg583