Skip to content

Commit f924de4

Browse files
committed
BUG: fix BASE_URL for deployment
1 parent 8901b1e commit f924de4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci_publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

15+
env:
16+
# `BASE_URL` determines, relative to the root of the domain, the URL that your site is served from.
17+
# E.g., if your site lives at `https://mydomain.org/myproject`, set `BASE_URL=/myproject`.
18+
# If, instead, your site lives at the root of the domain, at `https://mydomain.org`, set `BASE_URL=''`.
19+
BASE_URL: /${{ github.event.repository.name }}
20+
1521
jobs:
1622

1723
publish_html:

0 commit comments

Comments
 (0)