Skip to content

Commit

Permalink
Add a deploy dispatch event (#214)
Browse files Browse the repository at this point in the history
### Description

Allows someone with sufficient permissions to deploy the website by
issuing a dispatch event to this repository. This is needed to allow
other repository pushes to update the website.
 
### Issues Resolved

### Check List
- [X] Commits are signed per the DCO using `--signoff`

By submitting this pull request, I confirm that my contribution is made
under the terms of the BSD-3-Clause License.

---------

Signed-off-by: Madelyn Olson <[email protected]>
  • Loading branch information
madolson authored Feb 27, 2025
1 parent 457dbc5 commit f93e979
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/zola-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Deploy website
on:
push:
branches: ["main"]

repository_dispatch:
types: [deploy]
workflow_dispatch:

permissions:
Expand Down

0 comments on commit f93e979

Please sign in to comment.