Some checks failed
Test / test (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
36 lines
869 B
YAML
36 lines
869 B
YAML
name: Deploy Validation
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
environment:
|
|
description: 'Deployment environment'
|
|
required: true
|
|
default: 'staging'
|
|
type: choice
|
|
options:
|
|
- staging
|
|
- production
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Validate deployment
|
|
run: |
|
|
echo "Deployment validation for: ${{ github.event.inputs.environment }}"
|
|
echo "Note: Actual deployment requires infrastructure access"
|
|
echo "This workflow validates configuration only"
|
|
|
|
- name: Check prerequisites
|
|
run: |
|
|
if [ -f scripts/utils/prerequisites-check.sh ]; then
|
|
chmod +x scripts/utils/prerequisites-check.sh
|
|
./scripts/utils/prerequisites-check.sh || true
|
|
fi
|
|
|