{"id":21096404,"url":"https://github.com/githubtraining/exercise-enable-github-pages","last_synced_at":"2025-05-16T15:34:43.661Z","repository":{"id":40704673,"uuid":"331314622","full_name":"githubtraining/exercise-enable-github-pages","owner":"githubtraining","description":"A hands-on exercise using GitHub Actions. See README.md for instructions on how to get started.","archived":true,"fork":false,"pushed_at":"2022-08-18T19:38:45.000Z","size":87,"stargazers_count":3,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T07:27:47.878Z","etag":null,"topics":["exercise"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubtraining.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-01-20T13:26:32.000Z","updated_at":"2024-05-26T06:48:13.000Z","dependencies_parsed_at":"2022-07-29T02:39:29.547Z","dependency_job_id":null,"html_url":"https://github.com/githubtraining/exercise-enable-github-pages","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-enable-github-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-enable-github-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-enable-github-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-enable-github-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubtraining","download_url":"https://codeload.github.com/githubtraining/exercise-enable-github-pages/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254557039,"owners_count":22091044,"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":["exercise"],"created_at":"2024-11-19T22:36:24.244Z","updated_at":"2025-05-16T15:34:43.406Z","avatar_url":"https://github.com/githubtraining.png","language":"JavaScript","readme":"# Welcome to the exercise on enabling GitHub Pages!\n\nThis exercise is an exercise to check your knowledge on enabling GitHub Pages. It is automatically graded via a workflow once you have completed the instructions.\n\n**Quick links:**\n- [About this exercise](#about-this-exercise)\n- [Instructions](#instructions)\n- [Seeing your result](#seeing-your-result)\n- [Troubleshooting](#troubleshooting)\n- [Useful resources](#useful-resources)\n\n## About this exercise\n\n:warning: A grading script and a setup utility exist inside of the `.github/` directory. You do not need to use these workflows for any purpose and **altering their contents will affect the repository's ability to assess your exercise and give feedback.**\n\n:warning: This exercise utilizes [GitHub Actions](https://docs.github.com/en/actions), which is free for public repositories and self-hosted runners, but may incur charges on private repositories. See *[About billing for GitHub Actions]* to learn more.\n\n:information_source: The use of GitHub Actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.\n\n## Instructions\n\n1. Create your own copy of this repository by using the [Use this template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template#creating-a-repository-from-a-template) button. Make sure you set your repository visibility to **Public** when asked.\n2. In your newly created repository, enable GitHub Pages with the `main` branch and the `docs/` directory as the source for the GitHub Pages site.\n\n## Seeing your result\n\nYour exercise is graded automatically once you have completed the instructions. To see the result of your exercise, click the **Actions** tab, select the **Grading workflow**, and select the most recent workflow run. The status of the workflow indicates if you have passed or failed the exercise.\n\nIf the workflow failed, scroll down to the **Annotations** section to check what went wrong.\n\nSee *[Viewing workflow run history]* if you need assistance.\n\n## Troubleshooting\n\n If the grading workflow does not automatically run after you complete the instructions, run the troubleshooter: in the **Actions** tab select the **Grading workflow**, click **Run workflow**, select the appropriate branch (usually `main`), and click the **Run workflow** button.\n\n See *[Running a workflow on GitHub]* if you need assistance.\n\n## Useful resources\n\nUse these to help you!\n\nResources specific to this exercise:\n- [Configuring a publishing source for your GitHub Pages site]\n\nResources for working with exercise and GitHub Actions in general:\n- [Creating a repository from a template]\n- [Viewing workflow run history]\n- [Running a workflow on GitHub]\n- [About billing for GitHub Actions]\n- [GitHub Actions]\n\n\u003c!--\nLinks used throughout this README:\n--\u003e\n[Configuring a publishing source for your GitHub Pages site]:   https://docs.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site\n[Creating a repository from a template]:                        https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template\n[Viewing workflow run history]:                                 https://docs.github.com/en/actions/managing-workflow-runs/viewing-workflow-run-history\n[Running a workflow on GitHub]:                                 https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-on-github\n[About billing for GitHub Actions]:                             https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions\n[GitHub Actions]:                                               https://docs.github.com/en/actions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubtraining%2Fexercise-enable-github-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubtraining%2Fexercise-enable-github-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubtraining%2Fexercise-enable-github-pages/lists"}