Skip to content

Remove version on local workflow #21

Remove version on local workflow

Remove version on local workflow #21

Workflow file for this run

name: Static Deployment
on:
push:
branches:
- deployment-through-reusable-workflow
workflow_dispatch:
inputs:

Check failure on line 8 in .github/workflows/deployment.yml

View workflow run for this annotation

GitHub Actions / Static Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/deployment.yml (Line: 8, Col: 1): Unexpected value 'inputs'
environment:
required: false # Optional input for manual trigger
default: dev # Default value used during pushes
type: choice # Type of input for manual trigger
description: "Select the environment to deploy to (optional for pushes)" # Descriptive text
choices: ["dev", "staging", "prod"] # Choices available during manual trigger
jobs:
deploy:
uses: ./.github/workflows/build_and_deploy.yml
with:
environment: ${inputs.environment}