Skip to content

Commit f61ba81

Browse files
committed
add git fetch before exec git opera
1 parent 1fd3aeb commit f61ba81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

deploy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ SITE_CONFIG_FILE="config.toml"
1616

1717
echo "Deleting old publication"
1818
rm -rf ${SITE_PUB_DIR}
19+
git fetch
1920
git worktree prune
2021
rm -rf .git/worktrees/${SITE_PUB_DIR}
2122

0 commit comments

Comments
 (0)