Menu
Public repository / b94d307489644d24c8963b0c4140a2c514d03d36
AkurAI-Notes / .github/workflows/deploy.yml
Latest change 9c377072647a291cdff2c29950bc5f6b79e5b15e - 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 (e.g. 'ec2 --dry-run' to smoke-test the runner)"
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 || '' }}