hf-security-analysis[bot]
hf-security-analysis[bot]
Pin GitHub Actions to commit SHAs (#8)
b70a991 unverified Download .github/workflows/deploy-release.yml from githubtailscaleduplicity342/chat-template-playground: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/spaces/githubtailscaleduplicity342/chat-template-playground/resolve/main/.github/workflows/deploy-release.yml
- Command line
-
hf download hf://spaces/githubtailscaleduplicity342/chat-template-playground/.github/workflows/deploy-release.yml
-
curl -L -o deploy-release.yml https://huggingface.co/spaces/githubtailscaleduplicity342/chat-template-playground/resolve/main/.github/workflows/deploy-release.yml
594 Bytes
| name: Deploy to Hf Hub | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| sync-to-hub: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to hub | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: git push https://mishig:$HF_TOKEN@huggingface.co/spaces/huggingfacejs/chat-template-playground main -f | |