release site after deps updated

This commit is contained in:
maddalax 2024-10-11 09:11:28 -05:00
parent 8799772634
commit e750315764
5 changed files with 21 additions and 6 deletions

View file

@ -1,6 +1,10 @@
name: Build and Deploy htmgo.dev chat example
on:
workflow_run:
workflows: [ "Update HTMGO Framework Dependency" ] # The name of the first workflow
types:
- completed
pull_request:
branches:
- master

View file

@ -1,13 +1,16 @@
name: Build and Deploy htmgo.dev
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:
- 'htmgo-site/**' # Trigger only if files in this directory change
- "framework/**"
- "framework-ui/**"
- "cli/**"
@ -46,4 +49,4 @@ jobs:
- name: Push Docker image
run: |
docker push ghcr.io/${{ github.repository_owner }}/htmgo-site:latest
docker push ghcr.io/${{ github.repository_owner }}/htmgo-site:latest

View file

@ -1,6 +1,10 @@
name: Build and Deploy starter template
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:
@ -43,4 +47,4 @@ jobs:
- name: Push Docker image
run: |
docker push ghcr.io/${{ github.repository_owner }}/starter-template:latest
docker push ghcr.io/${{ github.repository_owner }}/starter-template:latest

View file

@ -1,6 +1,10 @@
name: Build and Deploy htmgo.dev todo example
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:
@ -43,4 +47,4 @@ jobs:
- name: Push Docker image
run: |
docker push ghcr.io/${{ github.repository_owner }}/htmgo-todo-example:latest
docker push ghcr.io/${{ github.repository_owner }}/htmgo-todo-example:latest

File diff suppressed because one or more lines are too long