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