Skip to content

Commit 4f8fa96

Browse files
authored
Merge pull request #37 from raux/revert-36-master
Revert "Merge PR"
2 parents 8d0f265 + cb4f41b commit 4f8fa96

File tree

280 files changed

+20751
-143
lines changed

Some content is hidden

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

280 files changed

+20751
-143
lines changed

.github/workflows/deploy.yml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Deploy to Github Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
# Give the default GITHUB_TOKEN write permission to commit and push the
15+
# added or changed files to the repository.
16+
contents: write
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: Cache Hugo resources
22+
uses: actions/cache@v2
23+
env:
24+
cache-name: cache-hugo-resources
25+
with:
26+
path: resources
27+
key: ${{ env.cache-name }}
28+
29+
- uses: actions/setup-go@v2
30+
with:
31+
go-version: "^1.17.0"
32+
- run: go version
33+
34+
- name: Cache Go Modules
35+
uses: actions/cache@v2
36+
with:
37+
path: |
38+
~/.cache/go-build
39+
~/go/pkg/mod
40+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
41+
restore-keys: |
42+
${{ runner.os }}-go-
43+
44+
- name: Setup Hugo
45+
uses: peaceiris/actions-hugo@v2
46+
with:
47+
hugo-version: "latest"
48+
extended: true
49+
50+
- name: Build
51+
run: hugo --minify --gc
52+
53+
- name: Deploy 🚀
54+
uses: JamesIves/github-pages-deploy-action@4.1.4
55+
with:
56+
branch: gh-pages
57+
folder: public
58+
clean: true
59+
single-commit: true

.github/workflows/hugo.yml

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2+
name: Deploy Hugo site to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["master"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
# Default to bash
25+
defaults:
26+
run:
27+
shell: bash
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
env:
34+
HUGO_VERSION: 0.114.0
35+
steps:
36+
- name: Install Hugo CLI
37+
run: |
38+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
39+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
40+
- name: Install Dart Sass
41+
run: sudo snap install dart-sass
42+
- name: Checkout
43+
uses: actions/checkout@v3
44+
with:
45+
submodules: recursive
46+
- name: Setup Pages
47+
id: pages
48+
uses: actions/configure-pages@v3
49+
- name: Install Node.js dependencies
50+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
51+
- name: Build with Hugo
52+
env:
53+
# For maximum backward compatibility with Hugo modules
54+
HUGO_ENVIRONMENT: production
55+
HUGO_ENV: production
56+
run: |
57+
hugo \
58+
--minify \
59+
--baseURL "${{ steps.pages.outputs.base_url }}/"
60+
- name: Upload artifact
61+
uses: actions/upload-pages-artifact@v2
62+
with:
63+
path: ./public
64+
65+
# Deployment job
66+
deploy:
67+
environment:
68+
name: github-pages
69+
url: ${{ steps.deployment.outputs.page_url }}
70+
runs-on: ubuntu-latest
71+
needs: build
72+
steps:
73+
- name: Deploy to GitHub Pages
74+
id: deployment
75+
uses: actions/deploy-pages@v2

.github/workflows/jekyll-gh-pages.yml

-51
This file was deleted.

.github/workflows/main.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: DepSafe
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
jobs:
8+
9+
detect-unsafe:
10+
runs-on: ubuntu-latest
11+
name: Check pull request with changes
12+
steps:
13+
- name: Check PR
14+
uses: supatsara-wat/DepSafe@v1.0.0
15+
with:
16+
owner: ${{ github.repository_owner }}
17+
repo: ${{ github.event.repository.name }}
18+
pr_number: ${{ github.event.number }}
19+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update-theme.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Update theme
2+
3+
# Controls when the workflow will run
4+
on:
5+
schedule:
6+
# Update theme automatically everyday at 00:00 UTC
7+
- cron: "0 0 * * *"
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
jobs:
12+
update-theme:
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
# Give the default GITHUB_TOKEN write permission to commit and push the
17+
# added or changed files to the repository.
18+
contents: write
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: Setup Hugo
24+
uses: peaceiris/actions-hugo@v2
25+
with:
26+
hugo-version: 0.115.2
27+
extended: true
28+
29+
- name: Update theme
30+
run: hugo mod get -u github.com/CaiJimmy/hugo-theme-stack/v3
31+
32+
- name: Tidy go.mod, go.sum
33+
run: hugo mod tidy
34+
35+
- name: Commit changes
36+
uses: stefanzweifel/git-auto-commit-action@v4
37+
with:
38+
commit_message: "CI: Update theme"

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
public
2+
resources

img/test .hugo_build.lock

File renamed without changes.

CHNAGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
v1.2.2
2+
Add front-matter: hideFromHomePage.
3+
Rename config.toml to hugo.toml.
4+
5+
v1.2.1
6+
Use the front-matter below if you use math or mermaid:
7+
math: true
8+
mermaid: true
9+
10+
v1.2.0
11+
1. Removing mermaid and math shortcode that will be replaced Markdown syntax
12+
2. Enhance Markdown: add tabs, mermaid and math syntax. See: <https://xioyito.top/posts/markdown%E6%89%A9%E5%B1%95%E8%AF%AD%E6%B3%95/>
13+
14+
v1.1.1
15+
1. fixed search bug
16+
17+
v1.0.0
18+
1. Delete these shortcodes: hl(highlight), label, img.
19+
2. Add Markdown function.

LICENSE

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2023 Software Engineering Lab @ NAIST
3+
Copyright (c) 2022 xioyito
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
1111

1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
# This is the Website for Wired Workshop
1+
# Raula Website
22

3+
This is my academic and research website.
4+
5+
I am testing the new PR checking tool for JS

0 commit comments

Comments
 (0)