Team Ai
Apppublic

t2codes/Codemix-Bot

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
main.yml22 linesDownload Raw Back to workflows
1name: Sync to Hugging Face hub2on:3  push:4    branches: [main]5  # to run this workflow manually from the Actions tab6  workflow_dispatch:7jobs:8  sync-to-hub:9    runs-on: ubuntu-latest10    steps:11      - uses: actions/checkout@v212        with:13          fetch-depth: 014      - name: Add remote 15        env:16          HF_TOKEN: ${{ secrets.HF_TOKEN }}17        run: git remote add space https://t2codes:$HF_TOKEN@huggingface.co/spaces/t2codes/Codemix-Bot18      - name: Push to hub19        env:20          HF_TOKEN: ${{ secrets.HF_TOKEN }}21        run: git push --force https://t2codes:$HF_TOKEN@huggingface.co/spaces/t2codes/Codemix-Bot main22