Skip to content

Commit f72474a

Browse files
committed
auto commit
1 parent 452fc16 commit f72474a

File tree

116 files changed

+5927
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+5927
-0
lines changed

.github/workflows/release.yml

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master # Set a branch name to trigger deployment
7+
pull_request:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-20.04
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true # Fetch Hugo themes (true OR recursive)
18+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
19+
20+
- name: Setup Hugo
21+
uses: peaceiris/actions-hugo@v2
22+
with:
23+
hugo-version: '0.85.0'
24+
25+
- name: Build
26+
run: hugo --minify
27+
28+
- name: Deploy
29+
uses: peaceiris/actions-gh-pages@v3
30+
if: github.ref == 'refs/heads/master'
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./public
34+
35+
36+
# name: build hugo
37+
38+
# on:
39+
# push:
40+
# branches:
41+
# - master
42+
# pull_request:
43+
44+
# jobs:
45+
# deploy:
46+
# runs-on: ubuntu-18.04
47+
# steps:
48+
# - uses: actions/checkout@v2
49+
# with:
50+
# submodules: true
51+
# fetch-depth: 0
52+
53+
# - name: Setup Hugo
54+
# uses: peaceiris/actions-hugo@v2
55+
# with:
56+
# hugo-version: '0.85.0'
57+
58+
# - name: Build
59+
# run: hugo --minify
60+
61+
# - name: Render
62+
# uses: actions/upload-artifact@v2
63+
# with:
64+
# name: rendered-html
65+
# path: ./public
66+
67+
# - name: Deploy
68+
# uses: peaceiris/actions-gh-pages@v3
69+
# if: github.ref == 'refs/heads/master'
70+
# with:
71+
# github_token: ${{ secrets.GITHUB_TOKEN }}
72+
# publish_dir: ./docs
73+
74+
# - name: Checkout GitHub Pages Branch
75+
# uses: actions/checkout@v2
76+
# with:
77+
# repository: "moeb98/moeb98.github.io"
78+
# fetch-depth: 0
79+
# ref: "master"
80+
# path: "./gh-pages"
81+
# - name: Copy to GitHub Pages
82+
# run: |
83+
# rm -rf ./gh-pages/*
84+
# cp -Rv ./public/* gh-pages/
85+
# - name: Commit
86+
# working-directory: ./gh-pages
87+
# run: |
88+
# git config --local user.email "[email protected]"
89+
# git config --local user.name "moeb98"
90+
# git add -A
91+
# git commit -m "Update docs"
92+
# REMOTE="https://${{github.repository_owner}}:${{secrets.GITHUB_TOKEN}}@github.com/moeb98/moeb98.github.io.git"
93+
# git push

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
public/
3+
resources/

.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

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# moe cState
2+
3+
Service status site based on cState for all m.e. services
4+
5+
## Install
6+
7+
Clone repository
8+
9+
```
10+
git clone https://github.com/moeb98/moe-cstate
11+
```

0 commit comments

Comments
 (0)