Mise à jour de 'Pages / How to'
parent
dfb8eb4b82
commit
31291a109a
23
Pages-%2F-How-to.md
Normal file
23
Pages-%2F-How-to.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Host static websites with Gitnet Pages!
|
||||||
|
|
||||||
|
## Set up your repository
|
||||||
|
|
||||||
|
Create a public repository named `pages` to make the site available at the main subdomain
|
||||||
|
|
||||||
|
**OR**
|
||||||
|
|
||||||
|
Create a branch `pages` in a repository:
|
||||||
|
|
||||||
|
```
|
||||||
|
git checkout --orphan pages
|
||||||
|
git rm --cached -r .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Upload your files
|
||||||
|
|
||||||
|
Push your static content, HTML, style, fonts, images or anything else.
|
||||||
|
|
||||||
|
## You're done!
|
||||||
|
|
||||||
|
Access your new website using this link: `https://USERNAME.codeberg.page[/REPOSITORY][/@BRANCH]`.
|
||||||
|
|
Loading…
Reference in a new issue