Skip to content

Commit 0e7048c

Browse files
Publish Project Leader Section (#561)
* Publish Project Leader Section Update deployment script to pick up on added files (not just modified files). * Update .github/workflows/publish-to-website.yml Co-authored-by: Tom Sadler <thomas.sadler@bbc.co.uk> --------- Co-authored-by: Tom Sadler <thomas.sadler@bbc.co.uk>
1 parent e769d39 commit 0e7048c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish-to-website.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ jobs:
5858
run: |
5959
git config --local user.name "github-actions[bot]"
6060
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
61-
git diff --quiet || (git add . && git commit -m "Update Learning Path articles" && git push)
61+
git add .
62+
git diff --staged --quiet || (git commit -m "Update Learning Path articles" && git push)

0 commit comments

Comments
 (0)