From 673a76f40d8e35bc9de2d87d6b529c3f6c59acb2 Mon Sep 17 00:00:00 2001
From: Brendan <2bndy5@gmail.com>
Date: Sat, 3 Jun 2023 07:28:46 -0700
Subject: [PATCH] add `deploy-release` arg to PIO reusable CI call

---
 .github/workflows/build_platformIO.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/build_platformIO.yml b/.github/workflows/build_platformIO.yml
index a86325a..d1e4d68 100644
--- a/.github/workflows/build_platformIO.yml
+++ b/.github/workflows/build_platformIO.yml
@@ -23,6 +23,8 @@ jobs:
   validate_lib_json:
     uses: nRF24/.github/.github/workflows/validate_deploy_platformio.yaml@main
     secrets: inherit
+    with:
+      deploy-release: ${{ github.event_name == 'release' }}
 
   check_formatting:
     uses: nRF24/.github/.github/workflows/cpp_lint.yaml@main