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
|
name: Build and Deploy htmgo hackernews clone
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [ "Update HTMGO Framework Dependency" ] # The name of the first workflow
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
workflow_dispatch: # Trigger on manual workflow_dispatch
|
workflow_dispatch: # Trigger on manual workflow_dispatch
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master # Trigger on pushes to master
|
- master # Trigger on pushes to master
|
||||||
paths:
|
paths:
|
||||||
- 'examples/hackernews/**' # Trigger only if files in this directory change
|
- 'examples/hackernews/**' # Trigger only if files in this directory change
|
||||||
- "framework/**"
|
|
||||||
- "framework-ui/**"
|
- "framework-ui/**"
|
||||||
- "cli/**"
|
- "cli/**"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ function watchUrl(callback: (oldUrl: string, newUrl: string) => void) {
|
||||||
callback(lastUrl, window.location.href);
|
callback(lastUrl, window.location.href);
|
||||||
lastUrl = window.location.href;
|
lastUrl = window.location.href;
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 101);
|
||||||
}
|
}
|
||||||
|
|
||||||
watchUrl((_, newUrl) => {
|
watchUrl((_, newUrl) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue