deepakpant commited on
Commit
c9db6ef
·
1 Parent(s): a532053

Changed the workflow trigger

Browse files
.github/workflows/build-container.yml CHANGED
@@ -2,9 +2,8 @@ name: Build and Deploy Docker Image
2
 
3
  on:
4
  workflow_dispatch: {}
5
- push:
6
- branches:
7
- - main # or master, depending on your default branch
8
 
9
  env:
10
  DOCKER_IMAGE: deepak93p/expressly-app # Replace with your DockerHub image
 
2
 
3
  on:
4
  workflow_dispatch: {}
5
+ release:
6
+ types: [published]
 
7
 
8
  env:
9
  DOCKER_IMAGE: deepak93p/expressly-app # Replace with your DockerHub image
.github/workflows/hugging_face-deploy.yml CHANGED
@@ -2,9 +2,8 @@ name: Deploy to Hugging Face Spaces
2
 
3
  on:
4
  workflow_dispatch: {}
5
- push:
6
- branches:
7
- - main # or master, depending on your default branch
8
 
9
  jobs:
10
  deploy:
 
2
 
3
  on:
4
  workflow_dispatch: {}
5
+ release:
6
+ types: [published]
 
7
 
8
  jobs:
9
  deploy: