Rain Poo commited on
Commit
1fb7ad8
1 Parent(s): a49447d

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +9 -9
.github/workflows/main.yml CHANGED
@@ -1,9 +1,8 @@
1
- name: Sync to Hugging Face hub
2
  on:
3
  push:
4
  branches: [main]
5
 
6
- # to run this workflow manually from the Actions tab
7
  workflow_dispatch:
8
 
9
  jobs:
@@ -13,11 +12,12 @@ jobs:
13
  - uses: actions/checkout@v2
14
  with:
15
  fetch-depth: 0
16
- - name: Add remote
 
 
17
  env:
18
- HF: ${{ secrets.HF }}
19
- run: git remote add space https://RainPoo:$HF@huggingface.co/spaces/RainPoo/Automated-Interview-Filtering
20
- - name: Push to hub
21
- env:
22
- HF: ${{ secrets.HF }}
23
- run: git push --force https://RainPoo:$HF@huggingface.co/spaces/RainPoo/Automated-Interview-Filtering main
 
1
+ name: Sync to Hugging Face Hub
2
  on:
3
  push:
4
  branches: [main]
5
 
 
6
  workflow_dispatch:
7
 
8
  jobs:
 
12
  - uses: actions/checkout@v2
13
  with:
14
  fetch-depth: 0
15
+ - name: Add remote
16
+ run: git remote add space https://huggingface.co/spaces/RainPoo/Automated-Interview-Filtering
17
+ - name: Push to Hugging Face
18
  env:
19
+ HF_TOKEN: ${{ secrets.HF }}
20
+ run: |
21
+ git config --global user.email "rain7464@gmail.com"
22
+ git config --global user.name "Poo-wei-chien"
23
+ git push --force https://RainPoo:$HF_TOKEN@huggingface.co/spaces/RainPoo/Automated-Interview-Filtering main