Skip to content

added retry

added retry #19

Workflow file for this run

---
name: Deploy to Ansible Galaxy
on:
workflow_dispatch:
push:
branches-ignore:
- 'dependabot/**'
jobs:
publish:
name: Test and publish
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: BSFishy/pip-action@v1
with:
packages: |
ansible
ansible-lint
docker
- run: ansible --version
- run: printf '[defaults]\nroles_path=../' >ansible.cfg
- run: ansible-playbook tests/test.yml -i tests/inventory --syntax-check
- run: ansible-galaxy role import --token ${{ secrets.ANSIBLE_GALAXY_TOKEN }} mergermarket ${{ github.event.repository.name }}