mg
ec33333916
rolle einzeln submodule entfernt Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#139 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
29 lines
584 B
YAML
29 lines
584 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.6'
|
|
|
|
- name: Install Ansible
|
|
run: pip3 install --no-compile ansible-base
|
|
|
|
- name: Trigger a new import on Galaxy
|
|
run: >-
|
|
ansible-galaxy role import
|
|
--api-key ${{ secrets.GALAXY_API_KEY }}
|
|
${GITHUB_REPOSITORY%%/*} ${GITHUB_REPOSITORY#*/}
|