mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2026-09-04 23:12:02 +08:00
Merge e4e5ba919ee3564248a535c343938bffdf4ee646 into beb90da73115dc54113cb757da3c66809a46fc85
This commit is contained in:
commit
82e08db163
2
.github/workflows/cr.yml
vendored
2
.github/workflows/cr.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: anc95/ChatGPT-CodeReview@main
|
||||
- uses: anc95/ChatGPT-CodeReview@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
||||
16
.github/workflows/docs.yml
vendored
16
.github/workflows/docs.yml
vendored
@ -11,18 +11,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: PNPM
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8.1.0
|
||||
uses: pnpm/action-setup@v5
|
||||
|
||||
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
||||
run: pnpm i && pnpm docs:build
|
||||
|
||||
- name: Deploy
|
||||
uses: easingthemes/ssh-deploy@main
|
||||
uses: easingthemes/ssh-deploy@v6
|
||||
env:
|
||||
# 本地.ssh文件下的私钥id_rsa,存在secrets的TOKEN中
|
||||
SSH_PRIVATE_KEY: ${{ secrets.HARRYWAN_PRIVATE_KEY }}
|
||||
@ -40,19 +38,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: PNPM
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8.1.0
|
||||
uses: pnpm/action-setup@v5
|
||||
|
||||
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
|
||||
run: |
|
||||
pnpm i
|
||||
pnpm docs:build-pages
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
uses: JamesIves/github-pages-deploy-action@v4.9.0
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: docs/.vitepress/dist
|
||||
|
||||
2
.github/workflows/gitee-mirror.yml
vendored
2
.github/workflows/gitee-mirror.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Mirror the Github organization repos to Gitee.
|
||||
uses: Yikun/hub-mirror-action@master
|
||||
uses: Yikun/hub-mirror-action@v1.5
|
||||
with:
|
||||
src: github/WeBankFinTech
|
||||
dst: gitee/WeBank
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v7
|
||||
- name: Get the release version from the tag
|
||||
shell: bash
|
||||
if: env.RELEASE_VERSION == ''
|
||||
@ -23,8 +23,7 @@ jobs:
|
||||
cat notes-${{ env.RELEASE_VERSION }}.md
|
||||
- name: Create Release for Tag
|
||||
id: release_tag
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
uses: softprops/action-gh-release@v3
|
||||
with:
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
body_path: notes-${{ env.RELEASE_VERSION }}.md
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user