vikashsaravanann
Add GitHub Actions deploy workflow
b7d376e
raw
history blame contribute delete
491 Bytes
name: Deploy to Hugging Face
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to Hugging Face Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hf https://vikashsaravanan:$HF_TOKEN@huggingface.co/spaces/vikashsaravanan/openenv-support-triage
git push hf main --force