Skip to content

Commit f0c26b7

Browse files
committed
Deploy also on workflow_dispatch
1 parent 502a8b0 commit f0c26b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Install SSH keys
22-
if: ${{ github.event_name == 'push' }}
22+
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
2323
env:
2424
SSH_ID: ${{ secrets.SSH_ID }}
2525
run: ./.scripts/install_ssh_id.sh
@@ -37,7 +37,7 @@ jobs:
3737
- name: build
3838
run: ./.scripts/build.sh
3939
- name: deploy
40-
if: ${{ github.event_name == 'push' }}
40+
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
4141
env:
4242
COMMITER_NAME: ${{ github.event.commits[0].author.name }}
4343
COMMITER_EMAIL: ${{ github.event.commits[0].author.email }}

0 commit comments

Comments
 (0)