Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
- name: Build Changelog
run: antsibull-changelog generate --output release-changelog.txt --only-latest
- name: Deploy Ansible Collection
run: make publish GALAXY_API_KEY=${{ secrets.GALAXY_API_KEY }}
run: make publish
env:
ANSIBLE_GALAXY_TOKEN: ${{ secrets.GALAXY_API_KEY }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: theforeman-foreman-*.tar.gz
body_path: release-changelog.txt
env:
GH_TOKEN: ${{ github.token }}
run: gh release create ${{ github.ref_name }} -F release-changelog.txt theforeman-foreman-*.tar.gz
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz: $(addprefix build/src/,$(DEPENDENCIES))
dist: $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz

publish: $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz
ansible-galaxy collection publish --api-key $(GALAXY_API_KEY) $<
ansible-galaxy collection publish $<

clean:
rm -rf build docs/plugins
Expand Down