1
0
This commit is contained in:
2025-07-18 12:20:46 +09:00
parent c4d225e643
commit 8f27cbb77b
4 changed files with 7 additions and 14 deletions

View File

@@ -5,10 +5,6 @@ on:
branches:
- main
env:
GITEA_MAIL: ${{ secrets.GITEA_MAIL }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
jobs:
build-deploy:
runs-on: ubuntu-latest
@@ -21,11 +17,8 @@ jobs:
submodules: true
fetch-depth: 0
- run: |
yarn install
rm -rf public
git clone https://${GITEA_TOKEN}@git.syui.ai/ai/card_public public
rm -rf public/.git*
rm -rf public/static
npm install -g yarn@1.22.19 # ← yarn 1系を使う
yarn install --frozen-lockfile --ignore-engines
- name: Build
env:

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "public"]
path = public
url = git@git.syui.ai:ai/card_public

View File

@@ -21,5 +21,8 @@
},
"devDependencies": {
"@vue/cli-service": "~4.5.15"
},
"resolutions": {
"minimatch": "^3.1.2"
}
}

View File

@@ -1,7 +1,7 @@
<template>
<div id="app">
<link rel="stylesheet" href="https://syui.ai/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/icomoon/style.css" />
<link rel="stylesheet" href="https://syui.github.io/bower_components/font-awesome/css/all.min.css" />
<div class="menu">
<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>