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