Spaces:
Runtime error
Runtime error
Download .github/workflows/deploy.yml from FriendlyUser/hs_fast_api: direct link, hf CLI and curl.
- Browser
- Download file 712 Bytes
-
https://huggingface.co/spaces/FriendlyUser/hs_fast_api/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/FriendlyUser/hs_fast_api/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/FriendlyUser/hs_fast_api/resolve/main/.github/workflows/deploy.yml
712 Bytes
| name: Deploy to Deta | |
| on: push | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 #Be sure you check-out the repo first. Deta CLI needs access to the files | |
| - uses: BogDAAAMN/deta-deploy-action@v1.0.1 | |
| with: | |
| deta-access-token: ${{ secrets.DETA_ACCESS_TOKEN }} #Deta access token https://docs.deta.sh/docs/cli/auth | |
| deta-name: "stonk_list_micro" #Deta Micro name https://docs.deta.sh/docs/cli/commands/#deta-clone | |
| # deta-project: "project-name" #Optional: Deta project name https://docs.deta.sh/docs/cli/commands/#deta-clone | |
| # deta-project-dir: "other-dir" #Optional: directory to be deployed on Deta. Default is the root "." |