This commit is contained in:
maddalax 2024-10-11 09:07:56 -05:00
parent ea5d4d5e2e
commit 90b444a097
2 changed files with 5 additions and 2 deletions

View file

@ -1,13 +1,16 @@
name: Build and Deploy htmgo hackernews clone
on:
workflow_run:
workflows: [ "Update HTMGO Framework Dependency" ] # The name of the first workflow
types:
- completed
workflow_dispatch: # Trigger on manual workflow_dispatch
push:
branches:
- master # Trigger on pushes to master
paths:
- 'examples/hackernews/**' # Trigger only if files in this directory change
- "framework/**"
- "framework-ui/**"
- "cli/**"

View file

@ -18,7 +18,7 @@ function watchUrl(callback: (oldUrl: string, newUrl: string) => void) {
callback(lastUrl, window.location.href);
lastUrl = window.location.href;
}
}, 100);
}, 101);
}
watchUrl((_, newUrl) => {