Add manual approving for building code in Amplify

This commit is contained in:
Gregory Campbell
2026-06-11 10:17:52 -04:00
parent c7a4296722
commit 1fc9ff4064
+4 -4
View File
@@ -9,7 +9,7 @@ on:
- master
jobs:
# Testing
# Testing (Runs automatically on push/PR)
test:
runs-on: ubuntu-latest
@@ -29,13 +29,13 @@ jobs:
run: npm run lint --if-present
- name: Run Tests
run: npm test -- --watchAll=false # Ensures CI doesn't hang on watch mode
run: npm test -- --watchAll=false
# Deployment (Only runs if 'test' passes)
# Deployment (Waits for manual approval after 'test' passes)
deploy:
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push'
environment: production
steps:
- name: Trigger webhook using curl