macrdel commited on
Commit
22a64b6
·
1 Parent(s): 780620a

update workflow

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +4 -1
.github/workflows/deploy.yml CHANGED
@@ -5,6 +5,8 @@ on:
5
  branches:
6
  - master
7
 
 
 
8
  jobs:
9
  test-and-deploy:
10
  runs-on: ubuntu-latest
@@ -40,5 +42,6 @@ jobs:
40
  HF_USER: ${{ secrets.HF_USER }}
41
  run: |
42
  git remote add huggingface https://$HF_USER:[email protected]/spaces/$HF_USER/sentiment-summarize-youtube-comms
43
- git push --force https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/$HF_USER/sentiment-summarize-youtube-comms master
 
44
 
 
5
  branches:
6
  - master
7
 
8
+ workflow_dispatch:
9
+
10
  jobs:
11
  test-and-deploy:
12
  runs-on: ubuntu-latest
 
42
  HF_USER: ${{ secrets.HF_USER }}
43
  run: |
44
  git remote add huggingface https://$HF_USER:[email protected]/spaces/$HF_USER/sentiment-summarize-youtube-comms
45
+ git checkout -b main huggingface/main
46
+ git push --force https://$HF_USER:[email protected]/spaces/$HF_USER/sentiment-summarize-youtube-comms main
47