diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index e9a8131..6b1c861 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -3,12 +3,12 @@ on: pull_request: branches: - main - push: - branches: - - main paths: - infra/**-playbook.yaml - .github/workflows/infra.yaml + push: + branches: + - main env: DEPLOY: ${{ github.ref == 'refs/heads/main' && ((startsWith(github.event.head_commit.message, '[deploy-all]') && 'all') || ('some')) || 'none' }} diff --git a/README.md b/README.md index f3a4b17..6c43ecb 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,5 @@ This repository contains any automations used in deploying *.koval.net services. All 'managed' infrastructure is deployed and provisioned with [Ansible](https://www.ansible.com/). However, some 'unmanaged' (manually managed) resources also exist - primarily everything required for this repository to work (I don't want to make a dependency loop). + +Ansible playbooks are ran in alphanumerical order and are expected idempotent.