Skip to content

Commit

Permalink
Deploy also on workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Aug 20, 2024
1 parent 426a800 commit 744b82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 744b82c

Please sign in to comment.