Spaces:
Sleeping
Sleeping
Download .github/workflows/main.yml from DecodeMarketing/decode_tools: direct link, hf CLI and curl.
- Browser
- Download file 711 Bytes
-
https://huggingface.co/spaces/DecodeMarketing/decode_tools/resolve/main/.github/workflows/main.yml
- Command line
-
hf download hf://spaces/DecodeMarketing/decode_tools/.github/workflows/main.yml
-
curl -L -o main.yml https://huggingface.co/spaces/DecodeMarketing/decode_tools/resolve/main/.github/workflows/main.yml
711 Bytes
| name: Sync to Hugging Face hub | |
| on: | |
| push: | |
| branches: [main] | |
| # to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # Least privilege: this workflow only reads the repo to check it out, then | |
| # pushes to the external HF Space using HF_TOKEN (not GITHUB_TOKEN). | |
| permissions: | |
| contents: read | |
| jobs: | |
| sync-to-hub: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to hub | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: git push https://DecodeMarketing:$HF_TOKEN@huggingface.co/spaces/DecodeMarketing/decode_tools main | |