-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
12,678 additions
and
2,467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
*.html linguist-detectable=false | ||
*.html linguist-detectable=false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: 'RTheme Build' | ||
on: | ||
push: | ||
paths: | ||
- '**' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: 'Setup Git' | ||
run: | | ||
git init | ||
git pull | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Ravello-H" | ||
- name: 'Setup nodejs' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'latest' | ||
- name: 'Install requirements' | ||
run: | | ||
npm install | ||
- name: 'RPageSearch' | ||
continue-on-error: True | ||
run: | | ||
cd program | ||
node search.js | ||
git add -A | ||
git commit -m "[RPageSearch]`date '+%Y-%m-%d %H:%M:%S'`" || exit | ||
- name: 'local-feed-generation' | ||
continue-on-error: True | ||
run: | | ||
cd program | ||
node feed.js | ||
git add -A | ||
git commit -m "[local-feed-generation]`date '+%Y-%m-%d %H:%M:%S'`" || exit | ||
- name: 'local-sitemap-generation' | ||
continue-on-error: True | ||
run: | | ||
cd program | ||
node fileList.js | ||
npx sitemap < ../assets/data/urlList.txt > ../sitemap.xml | ||
git add -A | ||
git commit -m "[local-sitemap-generation]`date '+%Y-%m-%d %H:%M:%S'`" || exit | ||
- name: 'Commit files' | ||
continue-on-error: True | ||
run: | | ||
git diff | ||
git status | ||
git push -f || exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: deploy | ||
on: [push] | ||
jobs: | ||
gitee: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: wearerequired/git-mirror-action@master | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }} | ||
with: | ||
source-repo: '[email protected]:RavelloH/ravelloh.github.io.git' | ||
destination-repo: '[email protected]:ravelloh/ravelloh.git' | ||
reload-pages: | ||
needs: gitee | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: reload | ||
uses: mizuka-wu/[email protected] | ||
with: | ||
repository: RavelloH/ravelloh | ||
cookie: ${{ secrets.GITEE_COOKIE }} | ||
branch: master | ||
https: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
on: [push] | ||
|
||
jobs: | ||
tree: | ||
runs-on: ubuntu-latest | ||
name: readme-tree | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Tree | ||
uses: RavelloH/readme-tree@latest | ||
- name: commit | ||
continue-on-error: True | ||
run: | | ||
git init | ||
git pull | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Ravello-H" | ||
git add . | ||
git commit -m "[Readme-Tree]`date '+%Y-%m-%d %H:%M:%S'`" || exit | ||
git status | ||
git push -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.inside | ||
*.bak | ||
.vscode | ||
**/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
assets/js/lib/** | ||
*.json | ||
assets/data/** | ||
*.min.js | ||
assets/js/pjax.js | ||
*.html | ||
*.htm | ||
assets/css/iconfont.css | ||
assets/css/hybrid.min.css | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
printWidth: 100, | ||
tabWidth: 4, | ||
useTabs: false, | ||
semi: true, | ||
singleQuote: true, | ||
quoteProps: 'as-needed', | ||
jsxSingleQuote: true, | ||
trailingComma: 'all', | ||
bracketSpacing: true, | ||
jsxBracketSameLine: true, | ||
arrowParens: 'always', | ||
requirePragma: false, | ||
insertPragma: false, | ||
proseWrap: 'preserve', | ||
htmlWhitespaceSensitivity: 'ignore', | ||
vueIndentScriptAndStyle: false, | ||
endOfLine: 'lf', | ||
embeddedLanguageFormatting: 'auto', | ||
}; |
Oops, something went wrong.