Spaces:
Running
Running
|
Download docs/deployment.md from DecodeMarketing/projektkalender: direct link, hf CLI and curl.
- Browser
- Download file 880 Bytes
-
https://huggingface.co/spaces/DecodeMarketing/projektkalender/resolve/main/docs/deployment.md
- Command line
-
hf download hf://spaces/DecodeMarketing/projektkalender/docs/deployment.md
-
curl -L -o deployment.md https://huggingface.co/spaces/DecodeMarketing/projektkalender/resolve/main/docs/deployment.md
880 Bytes
| # Deployment | |
| ## GitHub | |
| The current GitHub remote is: | |
| `https://github.com/matussekatdecode/projektkalender.git` | |
| `main` is deployment-sensitive. Pushing to `main` triggers | |
| `.github/workflows/main.yml`. | |
| ## Hugging Face Spaces | |
| The sync workflow pushes `main` to: | |
| `https://huggingface.co/spaces/DecodeMarketing/projektkalender` | |
| The app runs with Docker on port `7860`. | |
| ## Persistent Assignment Data | |
| When `HF_TOKEN` is set, assignment data is read from and written to: | |
| `DecodeMarketing/projektkalender-assignments` | |
| Local JSON files are used as development data and fallback seed data. Treat | |
| assignment writes as external writes when `HF_TOKEN` is present. | |
| ## Protected Actions | |
| - Pushing `main` | |
| - Editing `.github/workflows/main.yml` | |
| - Changing Jira write methods in `jira_client.py` | |
| - Changing Hugging Face persistence in `app.py` | |
| - Rotating or modifying required secrets | |