Skip to content

Commit c516212

Browse files
authored
Initial commit
0 parents  commit c516212

24 files changed

+814
-0
lines changed

.gitlab-ci.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SERVING CSTATE ON GITLAB PAGES
2+
# Introduced in v4.2.1
3+
#
4+
# This file is very similar to the existing GitLab template, and might need editing before it works on your project.
5+
#
6+
# All available Hugo versions are listed here:
7+
# https://gitlab.com/pages/hugo/container_registry
8+
#
9+
# cState uses Hugo Extended.
10+
image: registry.gitlab.com/pages/hugo/hugo_extended:0.100.2
11+
12+
variables:
13+
GIT_SUBMODULE_STRATEGY: recursive
14+
15+
test:
16+
script:
17+
- hugo
18+
except:
19+
- master
20+
21+
pages:
22+
script:
23+
- hugo
24+
artifacts:
25+
paths:
26+
- public
27+
only:
28+
- master

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/cstate"]
2+
path = themes/cstate
3+
url = https://github.com/cstate/cstate

README.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# cState Site v5.5
2+
3+
This is the default cState status page website directory/folder.
4+
5+
* Example site repository link (you are here): https://github.com/cstate/example
6+
* Main cState source code repository: https://github.com/cstate/cstate
7+
8+
## Are you updating? Use these commands
9+
10+
Download your site with all the directories. `git clone --recursive <your repo link goes here>`
11+
12+
Update the cState theme submodule. `git submodule foreach git pull origin master`
13+
14+
In the parent directory, type `hugo serve`. Check to see if everything is working.
15+
16+
Then do `git add -A; git commit -m "Update cState"; git push origin <branch, probably main or master>`. Your status page is now updated and uploaded.
17+
18+
19+
## For maintainers (probably not for you)
20+
21+
Maintainers need to update both cstate/cstate and cstate/example for each new version.
22+
23+
Download this repo with all the directories. `git clone --recursive -b master https://github.com/cstate/example.git`
24+
25+
Add your changes from cstate/cstate's exampleSite folder.
26+
27+
Update the cState theme submodule. `git submodule foreach git pull origin master`
28+
29+
Then push `git add -A; git commit -m "Update cState vX.X.X"; git push origin master`.
30+
31+
## License
32+
33+
MIT © Mantas Vilčinskas

0 commit comments

Comments
 (0)