Skip to content

Commit

Permalink
Trigger deployment only if website sources have been modified
Browse files Browse the repository at this point in the history
  • Loading branch information
ctmbl committed Oct 25, 2023
1 parent 9245f39 commit 6a323a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ on:
pull_request:

# Runs on push/merge to main to deploy the new website
# Only run if the push updates website sources
push:
branches: [main]
paths:
- src/**
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down

0 comments on commit 6a323a0

Please sign in to comment.