File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 branches : [main]
77
88jobs :
9- analyze :
10- name : Analyze
11- runs-on : ubuntu-latest
12- permissions :
13- actions : read
14- contents : read
15- security-events : write
16-
17- strategy :
18- fail-fast : false
19- matrix :
20- language : ['javascript']
21-
22- steps :
23- - name : Checkout repository
24- uses : actions/checkout@v2
25-
26- # Initializes the CodeQL tools for scanning.
27- - name : Initialize CodeQL
28- uses : github/codeql-action/init@v1
29- with :
30- languages : ${{ matrix.language }}
31-
32- - name : Autobuild
33- uses : github/codeql-action/autobuild@v1
34-
35- - name : Perform CodeQL Analysis
36- uses : github/codeql-action/analyze@v1
37-
389 tests :
3910 name : ' 🧪 - Tests'
40- needs : [analyze]
4111 runs-on : ubuntu-latest
4212 strategy :
4313 matrix :
9060 if : github.ref == 'refs/heads/main'
9161 name : ' 🚀 - Deploy'
9262 runs-on : ubuntu-latest
93- needs : [analyze, tests]
63+ needs : [tests]
9464 environment :
9565 name : production
9666 url : ' https://api.vision-data.io'
Original file line number Diff line number Diff line change @@ -44,7 +44,11 @@ const corsConfig: CorsConfig = {
4444 | one of the above values.
4545 |
4646 */
47- origin : [ 'https://*.vision-data.io' , 'http://localhost:8080' ] ,
47+ origin : [
48+ 'https://staging.app.vision-data.io' ,
49+ 'https://app.vision-data.io' ,
50+ 'http://localhost:8080' ,
51+ ] ,
4852
4953 /*
5054 |--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments