mirror of https://github.com/rapiz1/rathole.git
ci: enable manually running ci
This commit is contained in:
parent
694363fd60
commit
3780b4cf95
|
@ -5,6 +5,8 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
@ -108,6 +110,7 @@ jobs:
|
||||||
draft: true
|
draft: true
|
||||||
docker:
|
docker:
|
||||||
name: Publish to Docker Hub
|
name: Publish to Docker Hub
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release
|
needs: release
|
||||||
steps:
|
steps:
|
||||||
|
@ -126,6 +129,7 @@ jobs:
|
||||||
tags: rapiz1/rathole:latest, rapiz1/rathole:${{ github.ref_name }}
|
tags: rapiz1/rathole:latest, rapiz1/rathole:${{ github.ref_name }}
|
||||||
publish-crate:
|
publish-crate:
|
||||||
name: Publish to crates.io
|
name: Publish to crates.io
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release
|
needs: release
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue