only:scheduled builds are good

This commit is contained in:
rusefillc 2024-02-27 20:07:00 -05:00 committed by rusefillc
parent 8eab9365dc
commit b2fce5aa1d
1 changed files with 1 additions and 1 deletions

View File

@ -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