{"id":43571281,"url":"https://github.com/opensha/wiki-website-update-action","last_synced_at":"2026-02-03T22:15:19.881Z","repository":{"id":86485148,"uuid":"377308637","full_name":"opensha/wiki-website-update-action","owner":"opensha","description":"GitHub action to update a wiki-backed website with wiki contents","archived":false,"fork":false,"pushed_at":"2021-06-23T00:01:43.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T12:18:12.826Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensha.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}},"created_at":"2021-06-15T22:31:33.000Z","updated_at":"2025-11-04T04:04:38.000Z","dependencies_parsed_at":"2023-03-10T19:30:59.319Z","dependency_job_id":null,"html_url":"https://github.com/opensha/wiki-website-update-action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/opensha/wiki-website-update-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensha%2Fwiki-website-update-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensha%2Fwiki-website-update-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensha%2Fwiki-website-update-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensha%2Fwiki-website-update-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensha","download_url":"https://codeload.github.com/opensha/wiki-website-update-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensha%2Fwiki-website-update-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29059475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"last_error":"SSL_read: 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":[],"created_at":"2026-02-03T22:15:19.277Z","updated_at":"2026-02-03T22:15:19.864Z","avatar_url":"https://github.com/opensha.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wiki-website-update-action\n\nGitHub action to update a wiki-backed website with wiki contents. The wiki should already contain all configuration files related to GitHub pages (\\_config.yml, stylesheets, templates, etc). It is based on [this Action](https://github.com/cpina/github-action-push-to-another-repository).\n\nSee an [example implementation here](https://github.com/kevinmilner/wiki-website-demo), where the wiki is automatically synced to the `gh-pages` branch.\n\n## Inputs\n\n* `wiki-repository`: Name of the source wiki repository: username/repo.wiki or organization/repo.wiki\n* `wiki-branch`: (Optional) Wiki repository branch, defaults to \"master\"\n* `user-email`: Email for the git commit\n* `user-name`: User name for the git commit.\n* `commit-message`: (Optional) commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin repo\n* `destination-repository`: (Optional) Name of the destination repository. Defaults to the this repository\n* `destination-branch`: (Optional) set target branch name for the destination repository. Defaults to \"master\" for historical reasons\n* `template-repository`: (Optional) Name of a template repository, from which to copy files (e.g., Jekyll files) before copying over wiki contents. Otherwise, it is assumed that the wiki repository already has any necessary Jekyll files.\n* `template-branch`: (Optional) set branch name for the template repository, if supplied. Defaults to \"master\" for historical reasons\n\n### Environment: `API_TOKEN_GITHUB`\n\nE.g.:\n  `API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}`\n\nGenerate your personal token following the steps:\n* Go to the Github Settings (on the right hand side on the profile picture)\n* On the left hand side pane click on \"Developer Settings\"\n* Click on \"Personal Access Tokens\" (also available at https://github.com/settings/tokens)\n* Generate a new token, choose \"Repo\". Copy the token.\n\nThen make the token available to the Github Action following the steps:\n* Go to the Github page for the repository that you push from, click on \"Settings\"\n* On the left hand side pane click on \"Secrets\"\n* Click on \"Add a new secret\" and name it \"API_TOKEN_GITHUB\"\n\n## Example usage\n```yaml\nname: WGCEP wiki-website update\n\n# Controls when the action will run. \non:\n  # Updates on wiki updates\n  gollum:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: Wiki-Website update\n        uses: opensha/wiki-website-update-action@master\n        env:\n          API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}\n        with:\n          wiki-repository: 'opensha/wgcep-website.wiki'\n          user-email: 'opensha.org@gmail.com'\n          user-name: 'opensha-website-robot'\n          destination-branch: 'gh-pages'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensha%2Fwiki-website-update-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensha%2Fwiki-website-update-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensha%2Fwiki-website-update-action/lists"}