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

github publish hawc client #1124

Merged
merged 10 commits into from
Nov 3, 2024
Merged

github publish hawc client #1124

merged 10 commits into from
Nov 3, 2024

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Oct 23, 2024

Automatically publish hawc-client to pypi when a branch is tagged with a hawc-client tag.

In addition to changes in this PR:

  • Create a new github environment named publish, and restrict to the main branch
  • Add a secret to the PUBLISH_PYPI environment variable

As an example, see this action which resulted in a complete push to test pypi; the final PR made some changes to limit when this can be executed, and only push from the main branch.


Reference:

@shapiromatron shapiromatron changed the title add publish action github publish hawc client Oct 23, 2024
@shapiromatron shapiromatron marked this pull request as ready for review October 23, 2024 20:18
Copy link
Collaborator

@rabstejnek rabstejnek left a comment

Choose a reason for hiding this comment

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

Looks good!

@shapiromatron shapiromatron merged commit 4612bd8 into main Nov 3, 2024
6 checks passed
@shapiromatron shapiromatron deleted the gh-actions branch November 3, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants