Skip to content

Commit db6e458

Browse files
authored
move rm to front
1 parent 172ddf8 commit db6e458

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; rm -f /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml; hugo --minify
55+
run: rm -f /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml; cd DavidgsWeb; hugo mod get; hugo mod npm pack; npm install; hugo --minify
5656
- name: rsync deployments
5757
uses: burnett01/rsync-deployments@7.0.1
5858
with:

0 commit comments

Comments
 (0)