SiLaju / .github /workflows /deploy-main.yml
RyZ
deploy: deploy on HF
d88b81b
raw
history blame contribute delete
638 Bytes
name: Deploy to Main Space
on:
push:
branches:
- main
jobs:
deploy-to-main:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to Hub (Main)
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git remote add space https://XRyZ:$HF_TOKEN@huggingface.co/spaces/XRyZ/SiLaju
git push space main:main -f