Skip to content

Commit 30a0666

Browse files
committed
Handle branch deletion
1 parent cec5061 commit 30a0666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/deployment/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ deploy() {
3535
else
3636
# Patch html files to tell search engine bots like google-bot not to index this content.
3737
# More info: https://developers.google.com/search/docs/advanced/crawling/block-indexing
38-
find $site_src -name '*.html' -exec sed -i 's/<head>/<head><meta name="robots" content="noindex, nofollow">/g' {}
38+
find $site_src -name '*.html' -exec sed -i 's/<head>/<head><meta name="robots" content="noindex, nofollow">/g' {} \;
3939

4040
branch_slug=$(slugify $git_branch)
4141
site_dest="${gh_pages_dir}/branches/${branch_slug}"

0 commit comments

Comments
 (0)