更新登录组件,支持多种登录方式,修改版本号至0.1.1,并更新示例代码

This commit is contained in:
2025-12-17 15:08:31 +08:00
parent 65ee31e8ca
commit 7db3f1f6dc
6 changed files with 50 additions and 9 deletions

View File

@@ -9,4 +9,25 @@ $:
# 开发环境启动后会执行的任务
# stages:
# - name: pnpm install
# script: pnpm install
# script: pnpm install
main:
web_trigger_sync_to_gitea:
- services:
- docker
imports:
- https://cnb.cool/kevisual/env/-/blob/main/env.yml
stages:
- name: 'show username'
script: echo "GITEA_USERNAME is ${GITEA_USERNAME} and GITEA_PASSWORD is ${GITEA_PASSWORD}"
- name: sync to gitea
image: tencentcom/git-sync
settings:
target_url: https://git.xiongxiao.me/web-components/kv-login.git
auth_type: https
username: "oauth2"
password: ${GITEA_TOKEN}
git_user: "abearxiong"
git_email: "xiongxiao@xiongxiao.me"
sync_mode: rebase
branch: main