fix site
This commit is contained in:
11
.github/workflows/gh-pages.yml
vendored
11
.github/workflows/gh-pages.yml
vendored
@@ -5,10 +5,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
env:
|
|
||||||
GITEA_MAIL: ${{ secrets.GITEA_MAIL }}
|
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-deploy:
|
build-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -21,11 +17,8 @@ jobs:
|
|||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
yarn install
|
npm install -g yarn@1.22.19 # ← yarn 1系を使う!
|
||||||
rm -rf public
|
yarn install --frozen-lockfile --ignore-engines
|
||||||
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/card_public public
|
|
||||||
rm -rf public/.git*
|
|
||||||
rm -rf public/static
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
|||||||
[submodule "public"]
|
|
||||||
path = public
|
|
||||||
url = git@git.syui.ai:ai/card_public
|
|
@@ -21,5 +21,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/cli-service": "~4.5.15"
|
"@vue/cli-service": "~4.5.15"
|
||||||
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"minimatch": "^3.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<link rel="stylesheet" href="https://syui.ai/bower_components/icomoon/style.css" />
|
<link rel="stylesheet" href="https://syui.github.io/bower_components/icomoon/style.css" />
|
||||||
<link rel="stylesheet" href="https://syui.ai/bower_components/font-awesome/css/all.min.css" />
|
<link rel="stylesheet" href="https://syui.github.io/bower_components/font-awesome/css/all.min.css" />
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<a href="/" class="top-icon"><span class="icon-ai"></span></a>
|
<a href="/" class="top-icon"><span class="icon-ai"></span></a>
|
||||||
<code v-if="loc === 'te'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /ten</code>
|
<code v-if="loc === 'te'"><a href="https://bsky.app/profile/yui.syui.ai" target="_blank">@yui.syui.ai</a> /ten</code>
|
||||||
|
Reference in New Issue
Block a user