Skip to content

Commit 6edabcf

Browse files
author
v_guanglwen
committed
feat: 测测测
1 parent ac855c3 commit 6edabcf

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ name: WeChat MiniProgram Demo CI/CD
33
on:
44
push:
55
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
6+
- feat-ce
107
jobs:
118
upload:
129
runs-on: ubuntu-latest
@@ -15,5 +12,6 @@ jobs:
1512
env:
1613
WX_PRIVATE_KEY: ${{ secrets.WX_PRIVATE_KEY }}
1714
run: |
15+
mkdir -p ./build
1816
echo "$WX_PRIVATE_KEY" > ./build/key
1917
node ./build/ci.js

build/ci.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ if (!privateKeyContent) {
88
throw new Error('未找到私钥内容,请确保已正确配置 GitHub Secrets')
99
}
1010

11-
const privateKeyPath = path.resolve(__dirname, './private.key')
11+
const privateKeyPath = path.resolve(__dirname, './key')
1212
fs.writeFileSync(privateKeyPath, privateKeyContent)
1313

1414
const project = new ci.Project({
15-
appid: 'wxe5f52902cf4de896',
15+
appid: 'wx622bee4f78fa4f5a',
1616
type: 'miniProgram',
1717
projectPath: path.resolve(__dirname, '../'),
1818
privateKeyPath: path.resolve(__dirname, './key'),

0 commit comments

Comments
 (0)