Skip to content

Commit

Permalink
added new print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherwin-14 committed Jan 4, 2025
1 parent f2675cb commit c4c5f81
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/discussions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ jobs:
- name: Create a new GitHub Discussion
id: create-discussion
uses: abirismyname/[email protected]

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

with:
title: Feelings
title: Hackathon
body: |
Reporting out on earthaccess hack days.
Please create a new comment (at the very bottom, use the text box with a button that says "comment", not "reply") to write about what you did today!
Expand All @@ -27,5 +25,8 @@ jobs:

- name: Print discussion url and id
run: |
echo discussion-id: ${{ github.event.issue.number }}
echo discussion-url: ${{ github.event.issue.html_url }}
if [ -n "${{steps.create-discussion.outputs.discussion-id}}" ]; then
echo discussion-id: ${{steps.create-discussion.outputs.discussion-id}}
echo discussion-url: ${{steps.create-discussion.outputs.discussion-url}}
else
echo "Discussion not created"

0 comments on commit c4c5f81

Please sign in to comment.