manual deploy #382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |