chore: update workflows config.

This commit is contained in:
jaywcjlove
2022-09-05 00:52:05 +08:00
parent 6aad6713d2
commit 55c369f23c
2 changed files with 7 additions and 5 deletions

View File

@@ -177,7 +177,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: wxmp-macos-zip
name: wxmp-macos
path: |
electron/app/dist/*.zip
@@ -267,7 +267,7 @@ jobs:
roll_back:
if: failure()
needs: [create_release]
needs: [build, create_release]
runs-on: ubuntu-latest
timeout-minutes: 4
steps:
@@ -275,6 +275,8 @@ jobs:
with:
ref: ${{ github.head_ref }}
- run: echo "outputs.version - ${{ needs.build.outputs.create_tag_version }}"
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
if: needs.build.outputs.successful
with:

View File

@@ -185,11 +185,11 @@ docker pull ghcr.io/jaywcjlove/wxmp:latest
```
```bash
docker run --name wxmp --rm -d -p 96611:3000 wcjiang/wxmp:latest
docker run --name wxmp --rm -d -p 8113:3000 wcjiang/wxmp:latest
# Or
docker run --name wxmp -itd -p 96611:3000 wcjiang/wxmp:latest
docker run --name wxmp -itd -p 8113:3000 wcjiang/wxmp:latest
# Or
docker run --name wxmp -itd -p 96611:3000 ghcr.io/jaywcjlove/wxmp:latest
docker run --name wxmp -itd -p 8113:3000 ghcr.io/jaywcjlove/wxmp:latest
```
在浏览器中访问以下 URL