# 8.5: Deployment

## Learning Outcomes

By the end of this lesson, you should be able to:

* Deploy your project as a GitHub Page.

## Walkthrough

In order to make your repo code accessible to anyone on the internet you only need to follow a few steps on the GitHub repo page.

1\) Navigate to the settings page of the repo.

![](/files/-MGr_QzJuFxUN62w0g3A)

2\) Scroll down to the GitHub Pages section and click the dropdown

![](/files/-MGr_aZnWDlGBAcE6qW7)

3\) Select the **`main`** branch.

![](/files/uo2ff9XO2ZCRBgjWJdA0)

4\) Click the save button.

![](/files/-MGr_zYXIo4KWE0SLe6Y)

5\) The page will refresh and when you scroll back down to the GitHub pages section the URL of your repo will be displayed there.

![](/files/-MGraNyeu3gP8Zavfl38)

{% hint style="warning" %}
Note that if for any reason you changed around any of the file structure of the repo this may not work correctly right away. `index.html` needs to be at the root of the repository.
{% endhint %}

## **Exercise**

### **Deploy SWE Fundamentals Projects**

Go into the settings and deploy your *Beat That!* project.


---

# 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://fundamentals.rocketacademy.co/8-github/8.5-deployment.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.
