# Publishing to GitHub Pages

The repository you created on the previous page is where the files for your comic are kept. In order to actually display those files as a proper website, you'll need to publish to GitHub Pages. This page walks you through those steps.

{% hint style="info" %}
Even if you've only just created your repository from the previous page, the repo comes with some default text and images as a demonstration. Feel free to publish after creating to see how it works!
{% endhint %}

1. In your repository, go to the **Settings** tab.&#x20;

   <figure><img src="/files/uvHzF89lusMIjE9H0SiU" alt=""><figcaption><p>Click the Settings option</p></figcaption></figure>
2. In the sidebar, click **Pages**.&#x20;

   <figure><img src="/files/CODSaHSBtAUBTV55jnGu" alt=""><figcaption><p>Go to Pages</p></figcaption></figure>
3. Under **Source**, select **GitHub Actions** from the dropdown.&#x20;

   <figure><img src="/files/shX1nb9rmt8ZXHJm1BDq" alt=""><figcaption><p>Select GitHub Actions</p></figcaption></figure>
4. Click **Save**. Once you do, GitHub will automatically publish your repository to GitHub Pages!&#x20;

   <figure><img src="/files/QkRTFP9eAWyUp3okf2Wx" alt=""><figcaption><p>Success!</p></figcaption></figure>

Now you're ready to make changes to your website! As soon as you do and push your changes up to GitHub, it will automatically build and deploy your website for you! Please move onto the next section so we can set up the application that will let you move your own files into the repository.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://comic-git.gitbook.io/documentation/getting-started/publishing-to-github-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
