{"id":13647852,"url":"https://github.com/jsumners/gh-action-hugo-deploy","last_synced_at":"2025-04-11T20:35:45.906Z","repository":{"id":66171758,"uuid":"208446764","full_name":"jsumners/gh-action-hugo-deploy","owner":"jsumners","description":"An action to deploy Hugo based sites to GitHub organization repos","archived":false,"fork":false,"pushed_at":"2019-09-14T20:44:07.000Z","size":10,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T16:45:03.799Z","etag":null,"topics":["actions","deployment","github-actions","publishing"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jsumners.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}},"created_at":"2019-09-14T13:48:47.000Z","updated_at":"2020-04-14T22:34:14.000Z","dependencies_parsed_at":"2024-01-14T10:16:23.504Z","dependency_job_id":"546b0bbb-0a8b-443b-bbea-4d2a53a69344","html_url":"https://github.com/jsumners/gh-action-hugo-deploy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgh-action-hugo-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgh-action-hugo-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgh-action-hugo-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsumners%2Fgh-action-hugo-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsumners","download_url":"https://codeload.github.com/jsumners/gh-action-hugo-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248477528,"owners_count":21110507,"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":["actions","deployment","github-actions","publishing"],"created_at":"2024-08-02T01:03:48.198Z","updated_at":"2025-04-11T20:35:45.876Z","avatar_url":"https://github.com/jsumners.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Hugo Deploy Action\n\nThis is a simple [GitHub Action](https://github.com/actions) to facilitate\npublishing static sites built with [Hugo](https://gohugo.io) to an organization\nsite. Which is to say:\n\n1. You have a site Hugo project in `foo/site-src` repository.\n1. You have a GitHub organization site repository like `foo/foo.github.io`.\n1. You want to automated the build and publish process.\n\n## Usage\n\nAdd a `.github/workflows/main.yml` file with content like the following:\n\n```yaml\nsteps:\n  - uses: actions/checkout@master\n    with:\n      submodules: true\n\n  - uses: jsumners/gh-action-hugo-deploy@v1.0.0\n    with:\n      destination_repo: foo/foo.github.io\n      destination_token: ${{ secrets.Deploy_Token }}\n```\n\nAdd a [secret][secret] to your `site-src` repository named `Deploy_Token`. The\nvalue of this secret should be a GitHub [access token][token] with the \"repo\"\npermissions. This token must have permission to publish to your `.github.io`\nrepository.\n\nThat's it. See the [`action.yml`](/action.yml) file for more information\non the available configuration options.\n\n[secret]: https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables\n[token]: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsumners%2Fgh-action-hugo-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsumners%2Fgh-action-hugo-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsumners%2Fgh-action-hugo-deploy/lists"}