Skip to content

Fix yaml config

Fix yaml config #70

Workflow file for this run

name: Static Deployment
on:
push:
branches:
- DEVOPS-2759-test-public-repo-common-workflow
workflow_dispatch:
inputs:
environment:
required: false
type: choice
description: "Select the environment to deploy to (optional for pushes)"
options:
- staging
- prod
jobs:
deploy:
uses: ./.github/workflows/re_use_workflow.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

error parsing called workflow ".github/workflows/deployment.yml" -> "./.github/workflows/re_use_workflow.yml" (source branch with sha:cd54c0bbf739f7f4302351320caa110cc737fd4e) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
environment: "dev"
# ${{ inputs.environment || 'dev' }}
secrets: inherit