Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyChen777 committed May 29, 2024
0 parents commit 23e85ca
Show file tree
Hide file tree
Showing 190 changed files with 31,782 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Website Test

on:
pull_request_target:
types: [opened, reopened, synchronize]
branches:
- master

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-versions: ["18.12.0"]

steps:
- name: "Checkout Project"
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}


- name: Setup NodeJS Environment ${{ matrix.node-versions }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: "Install Node Module"
run: npm install --force

- name: "Build"
run: npm run build
42 changes: 42 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Deploy Website

on:
push:
branches:
- master

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-versions: ["18.12.0"]

steps:
- name: "Checkout Project"
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0

- name: Setup NodeJS Environment ${{ matrix.node-versions }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: "Install Node Module"
run: npm install --force

- name: "Build"
run: npm run build

- name: "Deploy"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.API_TOKEN_GITHUB }}
repository: 'FutureScholarsOrg/paperlib-website'
force: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/node_modules
**/dist
**/.DS_Store
.vscode
43 changes: 43 additions & 0 deletions .vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"hash": "7a709cd1",
"configHash": "a3e21e4f",
"lockfileHash": "76300b38",
"browserHash": "b8b8dbb8",
"optimized": {
"vue": {
"src": "../../../node_modules/.pnpm/[email protected]/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "f93c9df4",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../node_modules/.pnpm/@[email protected]/node_modules/@vue/devtools-api/lib/esm/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "df7054a3",
"needsInterop": false
},
"vitepress > @vueuse/integrations/useFocusTrap": {
"src": "../../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vueuse/integrations/useFocusTrap.mjs",
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
"fileHash": "d1b171c1",
"needsInterop": false
},
"vitepress > mark.js/src/vanilla.js": {
"src": "../../../node_modules/.pnpm/[email protected]/node_modules/mark.js/src/vanilla.js",
"file": "vitepress___mark__js_src_vanilla__js.js",
"fileHash": "95dad6ec",
"needsInterop": false
},
"vitepress > minisearch": {
"src": "../../../node_modules/.pnpm/[email protected]/node_modules/minisearch/dist/es/index.js",
"file": "vitepress___minisearch.js",
"fileHash": "17688ff9",
"needsInterop": false
}
},
"chunks": {
"chunk-4LAYHTU6": {
"file": "chunk-4LAYHTU6.js"
}
}
}
Loading

0 comments on commit 23e85ca

Please sign in to comment.