Skip to content

Commit

Permalink
ci: minor yaml format
Browse files Browse the repository at this point in the history
  • Loading branch information
resmo committed May 22, 2022
1 parent 27e3ccf commit cf2a53e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
run:
working-directory: ansible_collections/ngine_io/cloudstack
steps:
- uses: actions/checkout@v2
with:
path: ansible_collections/ngine_io/cloudstack
- 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
- uses: actions/checkout@v2
with:
path: ansible_collections/ngine_io/cloudstack
- 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

0 comments on commit cf2a53e

Please sign in to comment.