File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Deploy to Dev and Sandbox
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ dev :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v6
13+ - uses : actions/setup-python@v6
14+ with :
15+ python-version : ' 3.11'
16+ - uses : actions/setup-node@v6
17+ with :
18+ node-version : ' 20'
19+ - run : make install
20+ - run : make construct-spec APIM_ENV=dev
21+ - run : make publish-spec APIM_ENV=dev
22+ - run : make deploy-spec APIM_ENV=dev
23+
24+ sandbox :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v6
28+ - uses : actions/setup-python@v6
29+ with :
30+ python-version : ' 3.11'
31+ - uses : actions/setup-node@v6
32+ with :
33+ node-version : ' 20'
34+ - run : make install
35+ - run : make construct-spec APIM_ENV=sandbox
36+ - run : make generate-sandbox-spec
37+ - run : make deploy-sandbox-spec
38+ - run : make build-and-publish-sandbox-image
Original file line number Diff line number Diff line change 1+ name : Deploy to Preprod
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ preprod :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v6
11+ - uses : actions/setup-python@v6
12+ with :
13+ python-version : ' 3.11'
14+ - uses : actions/setup-node@v6
15+ with :
16+ node-version : ' 20'
17+ - run : make install
18+ - run : make construct-spec APIM_ENV=preprod
19+ - run : make publish-spec APIM_ENV=preprod
20+ - run : make deploy-spec APIM_ENV=preprod
Original file line number Diff line number Diff line change 1+ name : Deploy to Prod
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ prod :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v6
11+ - uses : actions/setup-python@v6
12+ with :
13+ python-version : ' 3.11'
14+ - uses : actions/setup-node@v6
15+ with :
16+ node-version : ' 20'
17+ - run : make install
18+ - run : make construct-spec APIM_ENV=prod
19+ - run : make publish-spec APIM_ENV=prod
20+ - run : make deploy-spec APIM_ENV=prod
You can’t perform that action at this time.
0 commit comments