@@ -2,19 +2,12 @@ name: Deploy to Hosting Server
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
confirm:
|
||||
description: 'Type DEPLOY to deploy this branch to the hosting server'
|
||||
required: true
|
||||
default: ''
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Manual deploy
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: ${{ github.event.inputs.confirm == 'DEPLOY' }}
|
||||
|
||||
env:
|
||||
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
||||
DEPLOY_PORT: ${{ secrets.DEPLOY_PORT }}
|
||||
|
||||
Reference in New Issue
Block a user