Skip to content

Commit 253a561

Browse files
committed
Initial Deployment of Server
0 parents  commit 253a561

Some content is hidden

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

52 files changed

+12604
-0
lines changed

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 20

.github/workflows/pages.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
push:
3+
branches:
4+
- master # default branch
5+
6+
jobs:
7+
pages:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Use Node.js 16.x
12+
uses: actions/setup-node@v2
13+
with:
14+
node-version: '16'
15+
- name: Cache NPM dependencies
16+
uses: actions/cache@v2
17+
with:
18+
path: node_modules
19+
key: ${{ runner.OS }}-npm-cache
20+
restore-keys: |
21+
${{ runner.OS }}-npm-cache
22+
- name: Install Dependencies
23+
run: npm install
24+
- name: Build
25+
run: npm run build
26+
- name: Deploy
27+
uses: peaceiris/actions-gh-pages@v3
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./public

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
_multiconfig.yml

_config.landscape.yml

Whitespace-only changes.

_config.yml

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# Hexo Configuration
2+
## Docs: https://hexo.io/docs/configuration.html
3+
## Source: https://github.com/hexojs/hexo/
4+
5+
# Site
6+
title: Hexo
7+
subtitle: ''
8+
description: ''
9+
keywords:
10+
author: John Doe
11+
language: en
12+
timezone: ''
13+
14+
# URL
15+
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
16+
url: http://example.com
17+
permalink: :year/:month/:day/:title/
18+
permalink_defaults:
19+
pretty_urls:
20+
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
21+
trailing_html: true # Set to false to remove trailing '.html' from permalinks
22+
23+
# Directory
24+
source_dir: source
25+
public_dir: public
26+
tag_dir: tags
27+
archive_dir: archives
28+
category_dir: categories
29+
code_dir: downloads/code
30+
i18n_dir: :lang
31+
skip_render:
32+
33+
# Writing
34+
new_post_name: :title.md # File name of new posts
35+
default_layout: post
36+
titlecase: false # Transform title into titlecase
37+
external_link:
38+
enable: true # Open external links in new tab
39+
field: site # Apply to the whole site
40+
exclude: ''
41+
filename_case: 0
42+
render_drafts: false
43+
post_asset_folder: false
44+
relative_link: false
45+
future: true
46+
highlight:
47+
enable: true
48+
line_number: true
49+
auto_detect: false
50+
tab_replace: ''
51+
wrap: true
52+
hljs: false
53+
prismjs:
54+
enable: false
55+
preprocess: true
56+
line_number: true
57+
tab_replace: ''
58+
59+
# Home page setting
60+
# path: Root path for your blogs index page. (default = '')
61+
# per_page: Posts displayed per page. (0 = disable pagination)
62+
# order_by: Posts order. (Order by date descending by default)
63+
index_generator:
64+
path: ''
65+
per_page: 10
66+
order_by: -date
67+
68+
# Category & Tag
69+
default_category: uncategorized
70+
category_map:
71+
tag_map:
72+
73+
# Metadata elements
74+
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
75+
meta_generator: true
76+
77+
# Date / Time format
78+
## Hexo uses Moment.js to parse and display date
79+
## You can customize the date format as defined in
80+
## http://momentjs.com/docs/#/displaying/format/
81+
date_format: YYYY-MM-DD
82+
time_format: HH:mm:ss
83+
## updated_option supports 'mtime', 'date', 'empty'
84+
updated_option: 'mtime'
85+
86+
# Pagination
87+
## Set per_page to 0 to disable pagination
88+
per_page: 10
89+
pagination_dir: page
90+
91+
# Include / Exclude file(s)
92+
## include:/exclude: options only apply to the 'source/' folder
93+
include:
94+
exclude:
95+
ignore:
96+
97+
# Extensions
98+
## Plugins: https://hexo.io/plugins/
99+
## Themes: https://hexo.io/themes/
100+
theme: gamemode4-theme
101+
102+
# Deployment
103+
## Docs: https://hexo.io/docs/one-command-deployment
104+
deploy:
105+
type: ''

0 commit comments

Comments
 (0)