{"id":18272936,"url":"https://github.com/tswicegood/github-actions-gh-pages","last_synced_at":"2025-08-17T21:16:17.176Z","repository":{"id":66438645,"uuid":"172146328","full_name":"tswicegood/github-actions-gh-pages","owner":"tswicegood","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-23T02:29:21.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T06:44:00.969Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tswicegood.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-22T23:05:12.000Z","updated_at":"2019-10-08T18:45:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"db6b2d4c-3aa4-4a35-be60-3509b04c4361","html_url":"https://github.com/tswicegood/github-actions-gh-pages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tswicegood/github-actions-gh-pages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswicegood%2Fgithub-actions-gh-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswicegood%2Fgithub-actions-gh-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswicegood%2Fgithub-actions-gh-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswicegood%2Fgithub-actions-gh-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tswicegood","download_url":"https://codeload.github.com/tswicegood/github-actions-gh-pages/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tswicegood%2Fgithub-actions-gh-pages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270907433,"owners_count":24665962,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["actions"],"created_at":"2024-11-05T12:04:26.601Z","updated_at":"2025-08-17T21:16:17.154Z","avatar_url":"https://github.com/tswicegood.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action for `gh-pages`\n\nThis repo contains [GitHub Action][1] for generating gh-pages. It consists of two actions:\n\n- `create`\n- `push`\n\n## Usage\n\nThese actions create and publish your `gh-pages` branch inside a `./public` directory. See [Configuration](#Configuration) to learn how to change that directory.\n\nYou can use these actions in your workflow like this:\n\n```workflow\naction \"Prep gh-pages\" {\n  uses = \"tswicegood/github-actions-gh-pages/create@master\"\n  secrets = [\"GITHUB_TOKEN\"]\n}\n\n// do something here to build your public directory\n\naction \"Push gh-pages\" {\n  uses = \"tswicegood/github-actions-gh-pages/push@master\"\n  needs = [\"whatever-built-your-site\"]\n}\n```\n\n\u003e Note: You have to enable the `GITHUB_TOKEN` secret on the action that uses `create`. Without that, you can't publish your changes.\n\n## Configuration\n\nEach action exposes a couple of environment variables. For most use, you can probably leave it alone. To change them, adjust the [env][gh-actions-env], like this:\n\n```markdown\naction \"Prep gh-pages\" {\n  uses = \"tswicegood/github-actions-gh-pages/create@master\"\n  secrets = [\"GITHUB_TOKEN\"]\n  env = {\n      DESTINATION = \"./my-public\"\n  }\n}\n```\n\n|   | Description | Default | Actions |\n| - | ----------- | ------- | - |\n| `DESTINATION` | Controls where the gh-pages repository is created | `./public` | `create`, `push` |\n| `TARGET_BRANCH` | Controls which branch we want to publish. Note: Changing this will mess up gh-pages deployments | `gh-pages` | `create`, `push` |\n| `GH_EMAIL` | Email address for commit | friendly-bot@example.com | `create` |\n| `GH_NAME` | Name of the committer | Friendly GitHub Action Deploy Bot | `create` |\n\n\n[1]: https://github.com/features/actions\n[gh-actions-env]: https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#environment-variables\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftswicegood%2Fgithub-actions-gh-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftswicegood%2Fgithub-actions-gh-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftswicegood%2Fgithub-actions-gh-pages/lists"}