# Can't find a way to deploy my zola site

**URL:** <https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137>\
**Category:** Support\
**Created:** [January 9, 2022, 4:03am UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137 "2022-01-09T04:03:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterParkerCode](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/peterparkercode/32/657_2.png) [@PeterParkerCode](https://zola.discourse.group/u/PeterParkerCode)\
**Post date:** [January 9, 2022, 4:03am UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/1 "2022-01-09T04:03:14Z")

</div>

So I’ve made a git repo for my site and still is not showing up as it shows up with a error 404. And the documentations is confusing to me some what. Trying to deploy it on github pages.

---

<div class="post-metadata">

**Author:** ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://zola.discourse.group/u/Roman)\
**Post date:** [January 9, 2022, 10:18am UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/2 "2022-01-09T10:18:21Z")

</div>

Can you share link to your repo?

---

<div class="post-metadata">

**Author:** ![PeterParkerCode](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/peterparkercode/32/657_2.png) [@PeterParkerCode](https://zola.discourse.group/u/PeterParkerCode)\
**Post date:** [January 9, 2022, 4:02pm UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/3 "2022-01-09T16:02:38Z")

</div>

Heres the repo: [GitHub - PeterParkerCode/PhantomBrokenWebsite](https://github.com/PeterParkerCode/PhantomBrokenWebsite)

---

<div class="post-metadata">

**Author:** ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://zola.discourse.group/u/Roman)\
**Post date:** [January 9, 2022, 4:19pm UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/4 "2022-01-09T16:19:13Z")

</div>

In github actions log I see:

```auto
> Error: fatal: No url found for submodule path 'themes/DeepThought' in .gitmodules
> Error: The process '/usr/bin/git' failed with exit code 128

```

so, for the first view the issue is your way to add theme as a git module, you might see an example how to do it in zola repo: [themes/.gitmodules at 02847a36eb3141dba011c585b8a84d4276816400 · getzola/themes · GitHub](https://github.com/getzola/themes/blob/02847a36eb3141dba011c585b8a84d4276816400/.gitmodules#L89)

Also I highly recommend to delete personal access token you had in mail.yml, it’s unsecure to have it in git history

---

<div class="post-metadata">

**Author:** ![PeterParkerCode](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/peterparkercode/32/657_2.png) [@PeterParkerCode](https://zola.discourse.group/u/PeterParkerCode)\
**Post date:** [January 9, 2022, 5:51pm UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/5 "2022-01-09T17:51:22Z")

</div>

So should I keep the repo private?

---

<div class="post-metadata">

**Author:** ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://zola.discourse.group/u/Roman)\
**Post date:** [January 9, 2022, 7:47pm UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/6 "2022-01-09T19:47:36Z")

</div>

it’s up to you, but make sure you have the key deleted, otherwise someone could use it

---

<div class="post-metadata">

**Author:** ![PeterParkerCode](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/peterparkercode/32/657_2.png) [@PeterParkerCode](https://zola.discourse.group/u/PeterParkerCode)\
**Post date:** [January 9, 2022, 10:18pm UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/7 "2022-01-09T22:18:32Z")

</div>

how can I put my tokens the right way and hiding it while having the repo public?

---

<div class="post-metadata">

**Author:** ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://zola.discourse.group/u/Roman)\
**Post date:** [January 12, 2022, 9:17am UTC](https://zola.discourse.group/t/cant-find-a-way-to-deploy-my-zola-site/1137/8 "2022-01-12T09:17:48Z")

</div>

you can use secrets [Encrypted secrets - GitHub Docs](https://docs.github.com/en/actions/security-guides/encrypted-secrets)
