Skip to content

Remove explicit home specification #83

Remove explicit home specification

Remove explicit home specification #83

Workflow file for this run

---
name: molecule
on:
push:
branches:
- main
tags:
- v*.*.*
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro:
- ubuntu2004
- ubuntu1804
- ubuntu1604
- centos7
- centos8
- debian10
- fedora29
steps:
- name: checkout the repository
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: run molecule
uses: robertdebock/[email protected]
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
deploy:
needs:
- test
runs-on: ubuntu-latest
steps:
- name: to Ansible Galaxy
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.head_ref == 'main')
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }}
git_branch: main