Skip to content

Commit 5131a29

Browse files
authored
Changed deploy workflow to ignore changes made to LICENSE and README.md
Whenever a push has been made updating README or LICENSE, it has triggered deploy workflow. This is unwanted as neither affect the site's functionality. This commit aims to fix it by adding paths-ignore
1 parent f7e59df commit 5131a29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5+
paths-ignore:
6+
- 'README.MD'
7+
- 'LICENSE'
58
branches:
69
- gh-pages
710

@@ -47,4 +50,4 @@ jobs:
4750

4851
- name: Deploy to GitHub Pages
4952
id: deployment
50-
uses: actions/deploy-pages@v4
53+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)