Download .github/workflows/substack-sync.yml from digitview/the-organism: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/digitview/the-organism/resolve/main/.github/workflows/substack-sync.yml
- Command line
-
hf download hf://digitview/the-organism/.github/workflows/substack-sync.yml
-
curl -L -o substack-sync.yml https://huggingface.co/digitview/the-organism/resolve/main/.github/workflows/substack-sync.yml
524 Bytes
| name: Sync Markdown to Substack Drafts | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '**.md' | |
| jobs: | |
| substack-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Run Content Pipeline Generator | |
| env: | |
| SUBSTACK_COOKIE: ${{ secrets.SUBSTACK_COOKIE }} | |
| run: | | |
| python content_pipeline_generator.py |