Menu
Public repository / 5c07c5e644744ad612da6efa3e039c5eb30df6f9
AkurAI-VPN / .github/workflows/deploy.yml
Latest change d6128872c4ad5942fec92c9a8e2c3956a774461f - 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 || '' }}