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