Test inputs for the deploy workflow

This commit is contained in:
ChrisDill 2023-09-09 09:23:21 +01:00
parent 7ba9068f0b
commit edce58a2cc

View File

@ -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