{"id":19074795,"url":"https://github.com/seokminhong/pages-action","last_synced_at":"2025-07-02T06:35:43.801Z","repository":{"id":37075626,"uuid":"418832710","full_name":"SeokminHong/pages-action","owner":"SeokminHong","description":"Deploy Cloudflare Pages by GitHub Actions","archived":false,"fork":false,"pushed_at":"2023-11-29T05:49:32.000Z","size":665,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T04:36:53.836Z","etag":null,"topics":["cloudflare-pages","deployment","github-actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeokminHong.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}},"created_at":"2021-10-19T08:17:23.000Z","updated_at":"2023-10-16T02:45:40.000Z","dependencies_parsed_at":"2023-11-29T06:31:27.312Z","dependency_job_id":"c0a5e2b0-d99c-417c-b1b2-e488837c40c7","html_url":"https://github.com/SeokminHong/pages-action","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.33333333333333337","last_synced_commit":"aa5d96b429a285acdd31bfe7be73600937cb5e59"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/SeokminHong/pages-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeokminHong%2Fpages-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeokminHong%2Fpages-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeokminHong%2Fpages-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeokminHong%2Fpages-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeokminHong","download_url":"https://codeload.github.com/SeokminHong/pages-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeokminHong%2Fpages-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263087986,"owners_count":23411972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cloudflare-pages","deployment","github-actions"],"created_at":"2024-11-09T01:52:30.088Z","updated_at":"2025-07-02T06:35:43.776Z","avatar_url":"https://github.com/SeokminHong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pages Action\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/actions/typescript-action/actions\"\u003e\u003cimg alt=\"typescript-action status\" src=\"https://github.com/actions/typescript-action/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nDeploy your [Cloudflare Pages](https://pages.cloudflare.com/) by GitHub Actions.\n\n## Motivation\n\nCloudflare Pages' automatic git deployments are really powerful and easy to use. However, when you're working in monorepo, or if you just change README.md only, it may make you uncomfortable to trigger deployment. So I automated the deployment with GitHub Action, using Cloudflare v4 API.\n\nThis action request Cloudflare Pages to build the main branch and poll the response until all steps are finished. It provides a greater experience than simply calling deploy hooks because if you just call the deploy hooks, you cannot notice whether the build fails or not.\n\n## Inputs\n\n- `accountId` (required): Cloudflare Account ID. See: https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/find-account-and-zone-ids/\n- `projectName` (required): Name of the Pages project.\n- `token` (required): Authorization token of Cloudflare.\n- `interval` (optional): Interval (ms) for polling. Default is `3000`.\n- `branch` (optional): Name of a branch to deploy. If it isn't provided, the production branch will be chosen.\n\n## Usage\n\n```yaml\nname: Publish page\n\non:\n  push:\n    # It deploys when the main branch changes only.\n    branches: [main]\n    # It deploys when the following files/directories are changed only.\n    paths:\n      - packages/pages/**\n      - .github/workflows/publish-page.yml\n\njobs:\n  publish:\n    name: Publish to Cloudflare Pages\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy pages\n        uses: SeokminHong/pages-action@v0.6\n        with:\n          accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}\n          projectName: {{ page_name }}\n          token: ${{ secrets.CLOUDFLARE_TOKEN }}\n          branch: dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseokminhong%2Fpages-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseokminhong%2Fpages-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseokminhong%2Fpages-action/lists"}