Gave workflow a more fitting name
This commit is contained in:
+7
-7
@@ -1,4 +1,4 @@
|
||||
name: Full Test and Deploy
|
||||
name: Full Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
frontend-test:
|
||||
frontend-build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Run Tests
|
||||
run: npm test -- --watchAll=false
|
||||
|
||||
go-test:
|
||||
go-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Go function to AWS Lambda from this step."
|
||||
|
||||
rust-test:
|
||||
rust-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Rust function to AWS Lambda from this step."
|
||||
|
||||
python-test:
|
||||
python-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -87,10 +87,10 @@ jobs:
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Python function to AWS Lambda with Mangum from this step."
|
||||
|
||||
# Deployment (Waits for manual approval after all test jobs pass)
|
||||
# Deployment (Waits for manual approval after all build jobs pass)
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [frontend-test, go-test, rust-test, python-test]
|
||||
needs: [frontend-build, go-build, rust-build, python-build]
|
||||
environment: production
|
||||
|
||||
steps:
|
||||
Reference in New Issue
Block a user