diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7d7df0f..b1095d8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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