Skip to content

manual deploy

manual deploy #382

Workflow file for this run

name: manual deploy
on:
workflow_dispatch:
inputs:
environment:
description: 'where to deploy to? beta or production'
required: true
default: production
jobs:
createDeploy:
runs-on: ubuntu-latest
steps:
- name: 'Create Deployment'
uses: avakar/[email protected]
with:
ref: ${{ github.sha }}
task: deploy
environment: ${{ github.event.inputs.environment }}
required_contexts: docker,node
payload: '{"value_files": ["./config/_common.yml","./config/${{ github.event.inputs.environment }}.yml"],"release": "bahn-expert-${{ github.event.inputs.environment }}","namespace": "marudor","track": "stable"}'
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}