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