File tree Expand file tree Collapse file tree 5 files changed +28
-35
lines changed
Expand file tree Collapse file tree 5 files changed +28
-35
lines changed Original file line number Diff line number Diff line change 2020jobs :
2121 checks :
2222 runs-on : ubuntu-latest
23+ name : Checks
2324 defaults :
2425 run :
2526 working-directory : ab-testing
Original file line number Diff line number Diff line change 1- name : 🧪 Deploy CODE AB Testing Config
1+ name : 🧪 AB testing CI (CODE)
22
33permissions :
44 contents : read
Original file line number Diff line number Diff line change 77 pull_request :
88 paths :
99 - ' ab-testing/**'
10+ - ' .github/workflows/ab-testing-*.yml'
11+ push :
12+ branches :
13+ - main
14+ paths :
15+ - ' ab-testing/**'
16+ - ' .github/workflows/ab-testing-*.yml'
1017
1118jobs :
12- checks :
19+ ci :
20+ name : CI
1321 uses : ./.github/workflows/ab-testing-checks.yml
22+ with :
23+ save_build_artifact : true
24+ secrets :
25+ FASTLY_AB_TESTING_CONFIG : ${{ secrets.FASTLY_PROD_AB_TESTING_CONFIG }}
26+ FASTLY_API_TOKEN : ${{ secrets.FASTLY_PROD_API_TOKEN }}
27+
28+ deploy :
29+ name : Deploy
30+ needs : ci
31+ if : github.ref == 'refs/heads/main'
32+ uses : ./.github/workflows/ab-testing-deploy.yml
33+ with :
34+ stage : prod
1435 secrets :
15- FASTLY_AB_TESTING_CONFIG : ${{ secrets.FASTLY_CODE_AB_TESTING_CONFIG }}
16- FASTLY_API_TOKEN : ${{ secrets.FASTLY_CODE_API_TOKEN }}
36+ FASTLY_AB_TESTING_CONFIG : ${{ secrets.FASTLY_PROD_AB_TESTING_CONFIG }}
37+ FASTLY_API_TOKEN : ${{ secrets.FASTLY_PROD_API_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 pull_request :
44 paths :
55 - ' ab-testing/**'
6+ - ' .github/workflows/ab-testing-*.yml'
67 push :
78 branches :
89 - main
910 paths :
1011 - ' ab-testing/**'
12+ - ' .github/workflows/ab-testing-*.yml'
1113
1214jobs :
1315 build-ui :
You can’t perform that action at this time.
0 commit comments