Skip to content

Commit a86846f

Browse files
authored
[CI] Fix update-website.yml (#25794)
1 parent 51b9914 commit a86846f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/update-website.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Update website
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ main ]
67

@@ -21,7 +22,7 @@ jobs:
2122
with:
2223
repository: kripken/emscripten-site
2324
ref: gh-pages
24-
path: ../emscripten-site
25+
path: site/emscripten-site
2526
- name: pip install
2627
run: |
2728
which python3

tools/maint/update_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main(args):
2424
if args:
2525
site_out = args[0]
2626
else:
27-
site_out = os.path.join(os.path.dirname(root_dir), 'emscripten-site')
27+
site_out = os.path.join(root_dir, 'site', 'emscripten-site')
2828

2929
assert os.path.isdir(site_out)
3030
print(f'Updating docs in: {site_out}')

0 commit comments

Comments
 (0)