Skip to content

Release 1.7.0

Release 1.7.0 #13

Workflow file for this run

name: Upload release to Galaxy
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ansible_collections/ngine_io/hashi
steps:
- uses: actions/checkout@v2
with:
path: ansible_collections/ngine_io/hashi
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ansible
- name: Build and publish
env:
ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
run: |
ansible-galaxy collection build .
ansible-galaxy collection publish *.tar.gz --api-key $ANSIBLE_GALAXY_API_KEY