Skip to content

Commit be43c86

Browse files
committed
Prevent Indexing of Github Pages used as Staging Sites
1 parent 73d455d commit be43c86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
- name: Modify hugo.toml
6464
run: sed -i "s|baseURL = .*|baseURL = \"$BASE_URL\"|" hugo.toml
6565

66+
- name: Create public directory
67+
run: mkdir -p public
68+
6669
- name: Create .htaccess (if needed)
6770
run: touch public/.htaccess
6871

0 commit comments

Comments
 (0)