Skip to content

HET-227: updated pipeline #46

HET-227: updated pipeline

HET-227: updated pipeline #46

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:
version: ${{ github.event.inputs.version }}

Check failure on line 23 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: 23, Col: 16): Invalid input, version is not defined in the referenced workflow.
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
with:
environment: ${{ github.event.inputs.environment }}
version: ${{ needs.build.outputs.version }}
secrets: inherit