mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-11 07:48:48 +08:00
chore: update workflows config.
This commit is contained in:
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -259,12 +259,29 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
name: ${{ steps.changelog.outputs.tag }}
|
name: ${{ steps.changelog.outputs.tag }}
|
||||||
tag: ${{ steps.changelog.outputs.tag }}
|
tag: ${{ steps.changelog.outputs.tag }}
|
||||||
|
artifacts: "dist/linux/*.rpm,dist/linux/*.deb,dist/macos/*.zip,dist/macos/*.dmg,dist/windows/*.exe"
|
||||||
body: |
|
body: |
|
||||||
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/wxmp/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
|
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/wxmp/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
|
||||||
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
|
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
|
||||||
|
|
||||||
${{ steps.changelog.outputs.changelog }}
|
${{ steps.changelog.outputs.changelog }}
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker pull wcjiang/wxmp:${{needs.build.outputs.create_tag_versionNumber}}
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run --name wxmp --rm -d -p 9666:3000 wcjiang/wxmp:${{ needs.build.outputs.create_tag_versionNumber }}
|
||||||
|
# Or
|
||||||
|
docker run --name wxmp -itd -p 9666:3000 wcjiang/wxmp:${{ needs.build.outputs.create_tag_versionNumber }}
|
||||||
|
```
|
||||||
|
|
||||||
|
Visit the following URL in your browser
|
||||||
|
|
||||||
|
```bash
|
||||||
|
http://localhost:9666/
|
||||||
|
```
|
||||||
|
|
||||||
roll_back:
|
roll_back:
|
||||||
if: failure()
|
if: failure()
|
||||||
needs: [build, create_release]
|
needs: [build, create_release]
|
||||||
|
|||||||
Reference in New Issue
Block a user