-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
output final commit sha #348
Comments
Thank you for suggesting this! Yes. That looks useful. A longer option name may be easier to understand as follows. core.setOutput('pages_commit_hash', sha); I also considered the following output parameter names.
We want to differentiate a |
How about |
Cool! We already have The GitHub Actions context uses Thanks @sidvishnoi |
Could someone test #514 as follows? - name: Deploy
uses: peaceiris/actions-gh-pages@7e55c73 #514
id: pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: echo ${{ steps.pages.outputs.dst_sha }} |
I tested this on a current workflow I'm using for an Hugo site and it works as expected 👍 Thanks a lot for this feature! |
Is your feature request related to a problem? Please describe
No
Describe the solution you'd like
so user can access this commit by
${{ steps.gh-pages.outputs.sha}}
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: