From 13bb62fe61081ff0b0ea6b16a39a5af1eee7903e Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sun, 3 Sep 2023 01:13:27 +0100 Subject: [PATCH] always run on main, and README update --- .github/workflows/infra.yaml | 6 +++--- README.md | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) 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.