Skip to content

Update deployment workflow to include all deployment through single b… #17

Update deployment workflow to include all deployment through single b…

Update deployment workflow to include all deployment through single b… #17

Workflow file for this run

name: Static Deployment
on:
push:
branches:
- deployment-through-reusable-workflow
workflow_dispatch:
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: ./build_and_deploy.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deployment.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
environment: ${inputs.environment}