Skip to content

Commit 8221ba6

Browse files
committed
Update deploy-docs.yml and components
- Added workflow_dispatch to deploy-docs.yml for manual triggering. - Commented out personal_token and external_repository in deploy-docs.yml. - Commented out NButton in Request.vue to disable login button. - Updated API endpoints in index.ts, removing old ones and adding new API URL.
1 parent de80adf commit 8221ba6

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
# make sure this is the branch you are using
88
- main
9+
workflow_dispatch:
910

1011
jobs:
1112
deploy-gh-pages:
@@ -45,9 +46,9 @@ jobs:
4546
- name: Deploy
4647
uses: peaceiris/actions-gh-pages@v3
4748
with:
48-
personal_token: ${{ secrets.MY_TOKEN }}
49-
# external_repository: alist-org/alist-org.github.io
49+
# personal_token: ${{ secrets.MY_TOKEN }}
50+
# external_repository: alist-dev/alist-dev.github.io
5051
publish_branch: gh-pages
5152
publish_dir: docs/.vuepress/dist
52-
cname: alist.nn.ci
53+
# cname: alist.nn.ci
5354

docs/.vuepress/components/aliyundrive/Request.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ async function haveScan() {
123123
placeholder="client_secret"
124124
/>
125125
</template>
126-
<NButton size="large" type="primary" @click="goGet" block
126+
<!-- <NButton size="large" type="primary" @click="goGet" block
127127
>前往登录</NButton
128-
>
128+
> -->
129129
<NButton
130130
size="large"
131131
type="info"

docs/.vuepress/components/api/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
export const apis: Record<string, string> = {
2-
cf: "https://api.nn.ci",
3-
cn: "https://api.xhofe.top",
4-
de: "http://api-my-api-5hw5ou-b810d8-80-75-218-107.traefik.me"
2+
new: "https://new-api.nn.ci",
53
};
64

75
if (typeof location !== "undefined") {

0 commit comments

Comments
 (0)