File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 1- # docker-miniprogram-ci
1+ # ghcr.io/susining/miniprogram-ci
2+
3+ ## How to use in GitHub Actions
4+
5+ ``` yaml
6+ name : Miniprogram CI
7+
8+ on :
9+ release :
10+ types :
11+ - released
12+
13+ env :
14+ APP_ID : {Your appid here}
15+
16+ jobs :
17+ job :
18+ name : CI/CD
19+ runs-on : [self-hosted, Linux, X64]
20+ container :
21+ image : ghcr.io/susining/miniprogram-ci:v1.0.0
22+ volumes :
23+ - /path/to/private/keys:/private-keys
24+ steps :
25+ - uses : actions/checkout@v3
26+ - run : npm install
27+ - run : npm run build
28+ - run : miniprogram-ci upload -v false --pp ./dist --pkp /private-keys/private-key.txt --enable-es6 true --enable-minify true --enable-autoprefixwxss true --uv $GITHUB_REF_NAME --ud $GITHUB_SHA --appid $APP_ID --qrcode-format terminal -r 1
29+ ` ` `
You can’t perform that action at this time.
0 commit comments