{"id":36985325,"url":"https://github.com/jekyll-is/action-jekyll-is-publish","last_synced_at":"2026-01-13T23:01:34.312Z","repository":{"id":326538163,"uuid":"1097519329","full_name":"jekyll-is/action-jekyll-is-publish","owner":"jekyll-is","description":"Service action for deploy Jekyll site","archived":false,"fork":false,"pushed_at":"2025-11-28T21:34:07.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:45:21.656Z","etag":null,"topics":["git","github-action","jekyll","telegram-notify"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jekyll-is.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-16T10:42:02.000Z","updated_at":"2025-12-02T19:37:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jekyll-is/action-jekyll-is-publish","commit_stats":null,"previous_names":["jekyll-is/action-jekyll-is-publish"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jekyll-is/action-jekyll-is-publish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll-is%2Faction-jekyll-is-publish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll-is%2Faction-jekyll-is-publish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll-is%2Faction-jekyll-is-publish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll-is%2Faction-jekyll-is-publish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jekyll-is","download_url":"https://codeload.github.com/jekyll-is/action-jekyll-is-publish/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll-is%2Faction-jekyll-is-publish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","github-action","jekyll","telegram-notify"],"created_at":"2026-01-13T23:01:31.292Z","updated_at":"2026-01-13T23:01:34.307Z","avatar_url":"https://github.com/jekyll-is.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll IS Publisher\n\n[![GitHub License](https://img.shields.io/github/license/jekyll-is/action-jekyll-is-publish)](LICENSE)\n[![GitHub release](https://img.shields.io/github/v/release/jekyll-is/action-jekyll-is-publish?logo=github)](https://github.com/jekyll-is/action-jekyll-is-publish/releases/latest)\n\n\n**Jekyll IS Publisher** is a secure, composite GitHub Action for publishing pre-built Jekyll websites (or individual files) to GitHub Pages. It supports full directory synchronization, additional file copying, and optional Telegram notifications with detailed Git change logs.\n\n## Features\n\n- 🔄 **Synchronize entire Jekyll `_site` directory** with `--delete` option to clean obsolete files\n- 📁 **Copy additional files** (e.g., sitemaps, robots.txt, custom assets)\n- 🛡️ **Secure token handling** — uses Git credential helper (no tokens in logs)\n- 📱 **Telegram notifications** with Git diff summary (limited to 20 files)\n- ⚡ **Fail-fast execution** with `set -euo pipefail`\n- 🏷️ **Custom commit messages** with labels and timestamps\n- `--force` push to ensure clean deployment\n\n## Usage\n\n### Basic Jekyll Deployment\n\n```yaml\nname: Deploy Jekyll Site\non:\n  push:\n    branches: [ main ]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      \n      - name: Build Jekyll\n        run: |\n          gem install bundler\n          bundle install\n          JEKYLL_ENV=production bundle exec jekyll build\n      \n      - name: Publish to GitHub Pages\n        uses: jekyll-is/action-jekyll-is-publish\n        with:\n          label: \"Jekyll CI/CD\"\n          sync-dir: \"_site\"\n          github-actor: ${{ github.actor }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          pages-repository: ${{ github.repository }}\n          pages-branch: \"gh-pages\"\n```\n\n### With Additional Files + Telegram\n\n```yaml\n      - name: Publish with extras\n        uses: jekyll-is/action-jekyll-is-publish\n        with:\n          label: \"Jekyll + Extras\"\n          sync-dir: \"_site\"\n          copy-dir: \"_extras\"  # robots.txt, sitemap.xml, etc.\n          github-actor: ${{ github.actor }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          pages-repository: ${{ github.repository }}\n          telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}\n          telegram-user-id: ${{ secrets.TELEGRAM_USER_ID }}\n```\n\n## Inputs\n\n| Input              | Description                                      | Required | Default     |\n|--------------------|--------------------------------------------------|----------|-------------|\n| `label`            | Commit message label \u0026 notification prefix       | ✅ Yes   | -           |\n| `sync-dir`         | Main directory to sync (e.g., `_site/`)          | ❌ No    | -           |\n| `copy-dir`         | Additional files to copy (no delete)             | ❌ No    | -           |\n| `github-actor`     | Git author name (e.g., `github-actions[bot]`)    | ✅ Yes   | -           |\n| `github-token`     | Personal Access Token or `${{ secrets.GITHUB_TOKEN }}` | ✅ Yes | -           |\n| `pages-repository` | Target repo (e.g., `user/repo`)                  | ✅ Yes   | -           |\n| `pages-branch`     | Target branch (e.g., `gh-pages`, `pages`)        | ❌ No    | `gh-pages`  |\n| `telegram-bot-token` | Telegram Bot API Token                        | ❌ No    | -           |\n| `telegram-user-id` | Telegram Chat ID (user or channel)               | ❌ No    | -           |\n\n## Security Notes\n\n✅ **Token-safe**: Uses `git config --global url.\"https://ACTOR:TOKEN@github.com/\".insteadOf` — tokens never appear in logs[5]\n\n✅ **Scoped permissions**: Use `GITHUB_TOKEN` with `contents: write` \u0026 `pages: write` workflow permissions\n\n⚠️ **Known limitation**: `git clone --branch` fails if branch doesn't exist. Create target branch manually first or use a setup step.\n\n## Telegram Notifications\n\nSends formatted message with:\n```\nPublishing by Jekyll CI/CD @ Fri Nov 28 20:18:00 UTC 2025\n\n5 file(s) changed:\n​```\nA       index.html\nM       css/style.css\nD       old-page.html\n​```\n```\n\n**MarkdownV2** formatting with full escaping for Git filenames/symbols.\n\n## Workflow Permissions\n\nAdd to your workflow YAML:\n```yaml\npermissions:\n  contents: write\n  pages: write\n  id-token: write  # For GitHub Pages deployment\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| `fatal: Remote branch not found` | Create target branch manually: `git checkout --orphan gh-pages` |\n| `rsync: No such file or directory` | Verify `sync-dir`/`copy-dir` exist in runner workspace |\n| Telegram fails silently | Check bot token permissions \u0026 chat ID format |\n| No changes committed | Use `git status` after `rsync` to debug |\n\n## Development\n\n1. **Test locally**:\n   ```bash\n   act -j deploy --container-architecture linux/amd64\n   ```\n\n2. **Release new version**:\n   ```bash\n   git tag v1.0.0\n   git push origin v1.0.0\n   ```\n\n## License\n\n[GPLv3+](LICENSE) © 2025 [Ivan Shikhalev](https://github.com/shikhalev)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjekyll-is%2Faction-jekyll-is-publish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjekyll-is%2Faction-jekyll-is-publish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjekyll-is%2Faction-jekyll-is-publish/lists"}