-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPublishingWebsiteNotes.qmd
More file actions
58 lines (43 loc) · 1.94 KB
/
PublishingWebsiteNotes.qmd
File metadata and controls
58 lines (43 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
title: "Tips for Publishing a Website on GitHub"
---
1. Personal Website vs Project website
- Until 2/25/24, I had only been using Project Sites for my repositories
- ex. <https://aleawm.github.io/Fiscal-Futures/> goes to a site created for a Project
- links ends with whatever the Repository is called
- For this group, I finally created a "User Website"
- Makes link short and sweet
- <https://aleawm.github.io/> goes to my "User Page." Main perk is the shorter link.
2. You must fully render the website before you publish it.
- in the Terminal, you can do `quarto render`
- or in the `Build` tab you can click `Render Project/Website/Book` (word depends on what type of project you created)
```{=html}
<!-- -->
```
2. Check your work! HTML files should show up in your project folder
- if using GitHub to host your website and using the gh-pages for publishing your website,
## Publishing through the Terminal!
I typed this into the terminal:
`quarto publish gh-pages`
And then was prompted with this:



::: callout-note
## Terminal Text
A new release of Deno is available: 1.28.2 → 1.41.0 Run `deno upgrade` to install it. ? Publish site to https://AleaWM.github.io/PersonalWebsite/ using gh-pages? (Y/n) » Yes
Switched to a new branch 'gh-pages'\
\[gh-pages (root-commit) 7457969\] Initializing gh-pages branch\
remote:\
remote: Create a pull request for 'gh-pages' on GitHub by visiting:\
remote: https://github.com/AleaWM/PersonalWebsite/pull/new/gh-pages\
remote: To https://github.com/AleaWM/PersonalWebsite.git\
\* \[new branch\] HEAD -\> gh-pages\
Your branch is up to date with 'origin/master'.\
Switched to branch 'master'\
From https://github.com/AleaWM/PersonalWebsite\
\* branch gh-pages -\> FETCH_HEAD\
Rendering for publish:
\[1/2\] index.qmd\
\[2/2\] fridge.qmd
:::