diff --git a/.github/workflows/update-website.yml b/.github/workflows/update-website.yml index eda6afc843512..7831986f96a8d 100644 --- a/.github/workflows/update-website.yml +++ b/.github/workflows/update-website.yml @@ -1,6 +1,7 @@ name: Update website on: + workflow_dispatch: push: branches: [ main ] @@ -21,7 +22,7 @@ jobs: with: repository: kripken/emscripten-site ref: gh-pages - path: ../emscripten-site + path: site/emscripten-site - name: pip install run: | which python3 diff --git a/tools/maint/update_docs.py b/tools/maint/update_docs.py index bf6337f06c657..d485abd0d6907 100755 --- a/tools/maint/update_docs.py +++ b/tools/maint/update_docs.py @@ -24,7 +24,7 @@ def main(args): if args: site_out = args[0] else: - site_out = os.path.join(os.path.dirname(root_dir), 'emscripten-site') + site_out = os.path.join(root_dir, 'site', 'emscripten-site') assert os.path.isdir(site_out) print(f'Updating docs in: {site_out}')