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