Menu
Public repository / dd5ceb09c5112682f7d0ab013d27ed6ac8d4d355
AkurAI-Monitor / .github/workflows/deploy.yml
Latest change 2328fbcbd5c1f65c9f77219a00ec3d8867ce0295 - ci: repoint uses: at renamed AkurAI-EC2 repo by Ólafur Búi Ólafsson
name: Deploy
on:
push:
branches: [main, master]
workflow_dispatch:
inputs:
mode:
description: "publish (ship current HEAD) or release (bump+tag)"
type: choice
options: [publish, release]
default: publish
bump:
description: "patch|minor|major — only used when mode=release"
type: choice
options: [patch, minor, major]
default: patch
deploy_args:
description: "advanced: exact ./deploy.sh args, overrides mode/bump"
type: string
default: ""
jobs:
deploy:
uses: olibuijr/AkurAI-EC2/.github/workflows/deploy.yml@main
with:
mode: ${{ inputs.mode || 'publish' }}
bump: ${{ inputs.bump || 'patch' }}
deploy_args: ${{ inputs.deploy_args || '' }}