test
This commit is contained in:
parent
ea5d4d5e2e
commit
90b444a097
2 changed files with 5 additions and 2 deletions
5
.github/workflows/release-hn-clone.yml
vendored
5
.github/workflows/release-hn-clone.yml
vendored
|
|
@ -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/**"
|
||||
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue