Update CI #4
@ -2,16 +2,8 @@ name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run:
|
||||
description: "Deploy artifact to server"
|
||||
type: boolean
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
runs-on: selfhost
|
||||
|
||||
@ -19,7 +11,6 @@ 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