only:workflow_dispatch is also nice, which ones are we avoiding anyway?

This commit is contained in:
rusefillc 2024-02-27 22:32:27 -05:00
parent 7263f245c2
commit 72622d1871
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.event_name}}" = "schedule" ] ) && [ "${{github.ref}}" = "refs/heads/master" ]; then
if ([ "${{github.event_name}}" = "push" ] || [ "${{github.event_name}}" = "schedule" ] || [ "${{github.event_name}}" = "workflow_dispatch" ] ) && [ "${{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