Skip to content

Update deployment workflow #18

Update deployment workflow

Update deployment workflow #18

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@deployment-through-reusable-workflow

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: references to workflows must be rooted in '.github/workflows'
with:
environment: ${inputs.environment}
secrets: inherit