BobIOI/cloudcomputing1
0
1name: ๐ Deploy ke Hugging Face2 3on:4 push:5 branches: [ main ]6 7jobs:8 deploy:9 runs-on: ubuntu-latest10 steps:11 - name: ๐ Checkout kode (non-shallow)12 uses: actions/checkout@v313 with:14 fetch-depth: 0 # Ambil seluruh history, penting!15 16 - name: ๐ Push ke Hugging Face17 run: |18 git config --global user.email "action@github.com"19 git config --global user.name "GitHub Action"20 21 git remote add hf https://BobIOI:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/BobIOI/cloudcomputing122 git push -f hf main23 