deploy/action.yml

27 lines
626 B
YAML
Raw Normal View History

2024-04-27 08:58:57 +00:00
# action.yml
name: 'Sixohthree Deploy'
description: 'Private deploy pipeline'
inputs:
local_path:
description: 'Local path'
required: false
default: './'
deploy_path:
description: 'Deploy path'
required: true
restart_nginx:
description: 'Restart nginx'
default: no
required: false
2024-04-27 08:58:57 +00:00
runs:
using: 'docker'
image: 'Dockerfile'
2024-05-18 23:17:50 +00:00
args:
- ${{ inputs.local_path }}
- ${{ inputs.deploy_path }}
- ${{ inputs.restart_nginx }}
env:
INPUT_LOCAL_PATH: ${{ inputs.local_path }}
INPUT_DEPLOY_PATH: ${{ inputs.deploy_path }}
INPUT_RESTART_NGINX: ${{ inputs.restart_nginx }}