diff --git a/.gitea/workflows/deploy-compose-stack.yml b/.gitea/workflows/deploy-compose-stack.yml index 1dfd4af..90395ae 100644 --- a/.gitea/workflows/deploy-compose-stack.yml +++ b/.gitea/workflows/deploy-compose-stack.yml @@ -55,7 +55,7 @@ jobs: uses: actions/checkout@v4 with: repository: ${{ github.event.repository.owner.login }}/ansible-shared - path: /tmp/ansible-shared + path: ../ansible-shared token: ${{ secrets.ORG_GITEA_TOKEN }} - name: Set up Python @@ -78,14 +78,14 @@ jobs: - name: Generate inventory from template run: | - cd /tmp/ansible-shared + cd ../ansible-shared sed -e "s/\${STAF_HOST}/${{ secrets.STAF_HOST }}/g" \ -e "s/\${STAF_ANSIBLE_USER}/${{ secrets.STAF_ANSIBLE_USER }}/g" \ inventory.template > inventory.ini - name: Deploy stack with Ansible run: | - cd /tmp/ansible-shared + cd ../ansible-shared EXTRA_VARS_FLAG="" if [ -n "${{ inputs.extra_vars }}" ]; then