Menu
Public repository / 6fc5ac4f53a0e303b27622874bfc2958ae288d7c
AkurAI-Platform / .github/workflows/deploy.yml
Latest change 7c20bfc03c11ad45182bbadd48707716a287085a - 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 || '' }}