mergify: update tox27 test name #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload Ansible Galaxy Package | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
- name: Install dependencies | |
run: | | |
# python -m pip install --upgrade pip | |
pip install ansible | |
sudo apt-get install pandoc | |
- name: Build and publish | |
env: | |
GALAXY_API_KEY: ${{ secrets.GALAXY_API_KEY }} | |
run: | | |
./build-collection | |
cd _build | |
ansible-galaxy collection publish ktdreyer-koji_ansible-*.tar.gz --api-key=${GALAXY_API_KEY} |