-
Notifications
You must be signed in to change notification settings - Fork 33
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
GH action ready for review #82
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks to match what we have today on Travis. Let's make sure that @FragmentedPacket approves as well before merging.
We are also going to need to add a recurring CI execution to have this whole thing run weekly as well.
- name: "Build the collection" | ||
run: "ansible-galaxy collection build --output-path build" | ||
- name: "Publish the collection" | ||
run: "ansible-galaxy collection publish build/* --api-key=${{ secrets.GALAXY_API_TOKEN }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FragmentedPacket will this work out for the publishing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it should work, but would try and test locally.
Here is what I did in the Netbox collection a while ago: https://github.com/netbox-community/ansible_modules/blob/devel/.github/workflows/release.yml#L16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's up to you if you want to change the deploy using the Ansible Action, but not sure if it's being supported or developed at this point either.
I'm good using the Ansible Galaxy command. It is known and works. @FragmentedPacket |
No description provided.