From b2fce5aa1d0155f40f41c9d665b5bf1e0371eb07 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 27 Feb 2024 20:07:00 -0500 Subject: [PATCH] only:scheduled builds are good --- .github/workflows/custom-board-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/custom-board-build.yaml b/.github/workflows/custom-board-build.yaml index e99891cd5a..a85c6ed1fa 100644 --- a/.github/workflows/custom-board-build.yaml +++ b/.github/workflows/custom-board-build.yaml @@ -130,7 +130,7 @@ jobs: env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' run: | - if [ "${{github.event_name}}" = "push" ] && [ "${{github.ref}}" = "refs/heads/master" ]; then + if ([ "${{github.event_name}}" = "push" ] || [ "${{github.event_name}}" = "schedule" ] ) && [ "${{github.ref}}" = "refs/heads/master" ]; then echo "Setting credentials..." echo "RUSEFI_SSH_SERVER=${{secrets.RUSEFI_SSH_SERVER}}" >> $GITHUB_ENV echo "RUSEFI_SSH_USER=${{secrets.RUSEFI_SSH_USER}}" >> $GITHUB_ENV