This commit is contained in:
@@ -59,6 +59,15 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Verify required files exist
|
||||
run: |
|
||||
echo "Checking for config file..."
|
||||
if [ ! -f "./build/config/staging.yaml" ]; then
|
||||
echo "Error: staging.yaml not found!"
|
||||
exit 1
|
||||
fi
|
||||
echo "All required files exist"
|
||||
|
||||
- name: Extract Git metadata
|
||||
id: git-metadata
|
||||
run: |
|
||||
@@ -186,4 +195,4 @@ jobs:
|
||||
- name: Post-deploy
|
||||
run: |
|
||||
echo "Deployment to ${{ inputs.environment }} completed."
|
||||
echo "Version deployed: ${{ inputs.VERSION }}"
|
||||
echo "Version deployed: ${{ inputs.version }}"
|
||||
|
Reference in New Issue
Block a user