Skip to content

Commit fe75fba

Browse files
committed
merge to Hugo & Blowfish
Signed-off-by: ihexon <14349453+ihexon@users.noreply.github.com>
1 parent 1424875 commit fe75fba

620 files changed

Lines changed: 510 additions & 24720 deletions

File tree

Some content is hidden

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

.commitlintrc.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

.editorconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/hugo.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Deploy Hugo site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
defaults:
19+
run:
20+
shell: bash
21+
22+
env:
23+
HUGO_VERSION: 0.160.1
24+
25+
jobs:
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v6
31+
with:
32+
submodules: recursive
33+
fetch-depth: 0
34+
35+
- name: Setup Pages
36+
id: pages
37+
uses: actions/configure-pages@v6
38+
39+
- name: Setup Hugo
40+
run: |
41+
wget -O "$RUNNER_TEMP/hugo.deb" "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb"
42+
sudo dpkg -i "$RUNNER_TEMP/hugo.deb"
43+
44+
- name: Build with Hugo
45+
env:
46+
HUGO_ENVIRONMENT: production
47+
HUGO_ENV: production
48+
run: |
49+
hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
50+
51+
- name: Upload artifact
52+
uses: actions/upload-pages-artifact@v5
53+
with:
54+
path: ./public
55+
56+
deploy:
57+
environment:
58+
name: github-pages
59+
url: ${{ steps.deployment.outputs.page_url }}
60+
runs-on: ubuntu-latest
61+
needs: build
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v5

.gitignore

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,2 @@
1-
*~
2-
~*
3-
*.diff
4-
*.patch
5-
*.bak
6-
.DS_Store
7-
*.swp
8-
*.swo
9-
*.log
10-
*.log.*
11-
12-
/.vscode/
13-
14-
node_modules/
15-
.sass-cache/
16-
17-
/.bundle/
18-
/vendor/bundle
19-
*.gem
20-
21-
yarn.lock
22-
package-lock.json
23-
Gemfile.lock
24-
25-
_site/
26-
.jekyll-metadata
27-
.jekyll-cache/
1+
public/
2+
.hugo_build.lock

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "themes/blowfish"]
2+
path = themes/blowfish
3+
url = https://github.com/nunocoracao/blowfish.git
4+
branch = main

.stylelintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)