From 744b82cd35f6c5af9dc48f97ee9f34110bcc87b3 Mon Sep 17 00:00:00 2001 From: Thorsten Otto Date: Tue, 20 Aug 2024 11:28:52 +0200 Subject: [PATCH] Deploy also on workflow_dispatch --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c64f81..36f5028 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install SSH keys - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} env: SSH_ID: ${{ secrets.SSH_ID }} run: ./.scripts/install_ssh_id.sh @@ -37,7 +37,7 @@ jobs: - name: build run: ./.scripts/build.sh - name: deploy - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} env: COMMITER_NAME: ${{ github.event.commits[0].author.name }} COMMITER_EMAIL: ${{ github.event.commits[0].author.email }}