This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
push to ansible galaxy #140
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: push to ansible galaxy | |
on: | |
workflow_dispatch: | |
workflow_run: | |
workflows: | |
- "CI" | |
branches: | |
- main | |
types: | |
- completed | |
jobs: | |
galaxy: | |
name: galaxy | |
runs-on: ubuntu-20.04 | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
steps: | |
- name: Check out the codebase | |
uses: actions/checkout@v3 | |
with: | |
path: 'ansible-container' | |
- name: galaxy | |
uses: robertdebock/galaxy-action@1.2.1 | |
with: | |
galaxy_api_key: ${{ secrets.galaxy_api_key }} | |
git_branch: main |