Skip to content

Commit 67e246f

Browse files
authored
Update build step to remove sitemap.xml
Remove sitemap.xml before building the site.
1 parent 63e0c56 commit 67e246f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# # file_pattern: index.*.md
5353
# repository: ./DavidgsWeb
5454
- name: Build
55-
run: cd DavidgsWeb; hugo mod get; hugo mod npm pack; npm install; hugo --minify
55+
run: cd DavidgsWeb; hugo mod get; hugo mod npm pack; npm install; rm -f public/sitemap.xml; hugo --minify
5656
- name: rsync deployments
5757
uses: burnett01/rsync-deployments@7.0.1
5858
with:

0 commit comments

Comments
 (0)