Skip to content

HET-227: updated pipeline #52

HET-227: updated pipeline

HET-227: updated pipeline #52

Workflow file for this run

name: Pipeline
on:
push:
branches:
# - main
- HEAT-227
workflow_dispatch: # Can be triggered manually from a branch
inputs:
environment:
description: 'Deployment Environment (valid values: "development", "production")'
required: true
default: 'development'
version:
description: 'Application version to deploy'
required: false
jobs:
build:
name: Build
uses: ./.github/workflows/build.yml
with:
push: true
secrets: inherit
deploy:
name: deploy
needs: build
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} || ${{ github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/deploy.yml

Check failure on line 30 in .github/workflows/pipeline.yml

View workflow run for this annotation

GitHub Actions / Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/pipeline.yml (Line: 30, Col: 11): Input environment is required, but not provided while calling.
with:
github_environment: development
version: ${{ needs.build.outputs.version }}
secrets: inherit
# deploy-to-dev:
# name: Deploy to dev
# uses: ./.github/workflows/deploy.yml
# needs: build
# with:
# github_environment: development
# environment: dev
# version: ${{ needs.build.outputs.version }}
# secrets: inherit