Skip to content

Commit

Permalink
allow deploying site manually from github actions (#2211)
Browse files Browse the repository at this point in the history
allow deploying site from github actions
  • Loading branch information
titusfortner authored Mar 6, 2025
1 parent 5652d10 commit 1b5e20e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
push:
branches:
- trunk
workflow_dispatch:

jobs:
deploy:
if: contains(toJson(github.event.commits), '[deploy site]') == true
if: contains(toJson(github.event.commits), '[deploy site]') == true || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
Expand Down

0 comments on commit 1b5e20e

Please sign in to comment.