Joshua Sundance Bailey commited on
Commit
1db62d8
·
1 Parent(s): 61fed64
Files changed (1) hide show
  1. .github/workflows/hf-space.yml +7 -3
.github/workflows/hf-space.yml CHANGED
@@ -1,13 +1,17 @@
1
  name: Push to HuggingFace Space
2
 
3
  on:
4
- push:
5
- tags:
6
- - '*.*.*'
 
 
7
  workflow_dispatch:
8
 
9
  jobs:
10
  push-to-huggingface:
 
 
11
  runs-on: ubuntu-latest
12
  steps:
13
  - uses: actions/checkout@v2
 
1
  name: Push to HuggingFace Space
2
 
3
  on:
4
+ workflow_run:
5
+ workflows: ["Update AI Changelog on Push to Main"]
6
+ branches: [main]
7
+ types:
8
+ - completed
9
  workflow_dispatch:
10
 
11
  jobs:
12
  push-to-huggingface:
13
+ needs:
14
+ - update-changelog
15
  runs-on: ubuntu-latest
16
  steps:
17
  - uses: actions/checkout@v2