Akki
Update deployment workflow to force push to HF
a52c6d2
Raw
History Blame Contribute Delete
435 Bytes
name: Deploy to Hugging Face Space
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://a13awd:$HF_TOKEN@huggingface.co/spaces/a13awd/electricity_grid_model main