diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index 00c3627..149494b 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -11,8 +11,8 @@ on: - main env: - # DEPLOY: ${{ github.ref == 'refs/heads/main' && ((startsWith(github.event.head_commit.message, '[deploy-all]') && 'all') || ('some')) || 'none' }} - DEPLOY: all + DEPLOY: ${{ github.ref == 'refs/heads/main' && ((startsWith(github.event.head_commit.message, '[deploy-all]') && 'all') || ('some')) || 'none' }} + # DEPLOY: all jobs: ansible-playbooks: @@ -78,4 +78,4 @@ jobs: INFISICAL_MONGO_PASSWORD: ${{ secrets.INFISICAL_MONGO_PASSWORD }} INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }} INFISICAL_URL: https://secrets.koval.net - run: ansible-playbook --inventory ./inventory ./infra/photos/0003_immich_playbook.yaml -vvvvv + run: ansible-playbook --inventory ./inventory ${{ steps.playbooks.outputs.to_run }} -vv