Update CI #4
@ -1,9 +1,11 @@
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
tags:
|
inputs:
|
||||||
- '*'
|
run:
|
||||||
|
description: "Deploy artifact to server"
|
||||||
|
type: boolean
|
||||||
|
|
||||||
runs-on: selfhost
|
runs-on: selfhost
|
||||||
|
|
||||||
@ -11,6 +13,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: selfhost
|
runs-on: selfhost
|
||||||
|
if: ${{ inputs.run }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: get artifact
|
- name: get artifact
|
||||||
|
Loading…
x
Reference in New Issue
Block a user