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

How to save the SHA of commit? #56

Open Nambers opened 2 years ago

Nambers commented 2 years ago

I need the SHA of this commit in next step, how can I save it as a env variable?

s0 commented 2 years ago

Do you mean the SHA of the commit that is ultimately created and pushed to the target repo? or the SHA of the commit that triggered the workflow?

Nambers commented 2 years ago

SHA of the commit that is ultimately created and pushed to the target repo

bc i need SHA to tagged

Eritque arcus

------------------ Original ------------------ From: Sam Lanning @.> Date: Wed, Feb 9, 2022 1:07 AM To: s0/git-publish-subdir-action @.> Cc: Eritque arcus @.>, Author @.> Subject: Re: [s0/git-publish-subdir-action] How to save the SHA of commit? (Issue #56)

Do you mean the SHA of the commit that is ultimately created and pushed to the target repo? or the SHA of the commit that triggered the workflow?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>