Skip to content
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

DB Refresh Button: Adding functionality #375

Merged
merged 5 commits into from
Jun 8, 2023

Conversation

joeflack4
Copy link
Member

@joeflack4 joeflack4 commented Jun 6, 2023

Adding functionality to the "DB Refresh" button of the "Help / About" page. Should trigger this GitHub Action.

@joeflack4 joeflack4 marked this pull request as draft June 6, 2023 22:22
@joeflack4 joeflack4 added the new feature New feature or request label Jun 6, 2023
@joeflack4 joeflack4 linked an issue Jun 6, 2023 that may be closed by this pull request
@joeflack4 joeflack4 assigned joeflack4 and unassigned joeflack4 Jun 6, 2023
@hugwuoke hugwuoke marked this pull request as ready for review June 8, 2023 15:57
Copy link
Member Author

@joeflack4 joeflack4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hugwuoke I think this is ready to merge! I'll just change the line at the bottom back to run(), I know it was changed just for testing purposes.

payload = {
'event_type': 'refresh-db',
}
response = requests.post(url, headers = headers,data=json.dumps(payload))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I see, it looks like this worked correctly! https://github.com/jhu-bids/TermHub/actions

@joeflack4 joeflack4 merged commit 6f197f7 into develop Jun 8, 2023
@joeflack4 joeflack4 deleted the db-refresh-button-functionality branch June 8, 2023 19:22
joeflack4 added a commit that referenced this pull request Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Status: 5. Done
Development

Successfully merging this pull request may close these issues.

DB refresh button: Adding functionality
2 participants