Skip to content

Commit

Permalink
Update huggingface.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
henrii1 authored Dec 3, 2023
1 parent 97c5347 commit 4fc7b3b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/huggingface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: [main]

# setup to run this workflow manually from the Actions tab
# to run this workflow manually from the actions tab
workflow_dispatch:

jobs:
Expand All @@ -12,12 +12,13 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-depth: 0
- name: Add remote
env:
HF: ${{ secrets.HF}}
HUGGINGFACE: ${{ secrets.HF }}
run: git remote add space https://henrii1:$HF@huggingface.co/spaces/henrii1/Text_summarization
- name: Push to Hub
- name: Push to hub
env:
HF: ${{ secrets.HF}}
HUGGINGFACE: ${{ secrets.HF }}
run: git push --force https://henrii1:$HF@huggingface.co/spaces/henrii1/Text_summarization main

0 comments on commit 4fc7b3b

Please # to comment.