-
Notifications
You must be signed in to change notification settings - Fork 133
38 lines (34 loc) · 949 Bytes
/
Copy pathdeploy.yml
File metadata and controls
38 lines (34 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Deployment Pipeline
on: workflow_dispatch
jobs:
deploy-dev:
name: Deploy to Development
runs-on: ubuntu-latest
environment:
name: development
steps:
- uses: actions/checkout@v4
- name: Deploy
run: echo "Deploying to development environment..."
deploy-staging:
name: Deploy to Staging
needs: deploy-dev
runs-on: ubuntu-latest
environment:
name: staging
url: https://staging.subtrackr.app
steps:
- uses: actions/checkout@v4
- name: Deploy
run: echo "Deploying to staging environment with manual approval gate..."
deploy-prod:
name: Deploy to Production
needs: deploy-staging
runs-on: ubuntu-latest
environment:
name: production
url: https://subtrackr.app
steps:
- uses: actions/checkout@v4
- name: Deploy
run: echo "Deploying to production environment with strict manual approval gate..."