adding production var ingestions
This commit is contained in:
		
							
								
								
									
										28
									
								
								.meshrc.yml
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								.meshrc.yml
									
									
									
									
									
								
							| @@ -2,13 +2,6 @@ serve: | ||||
|   endpoint: /api | ||||
| additionalEnvelopPlugins: "./src/envelopePlugin.ts" | ||||
| sources: | ||||
|   - name: Gitea | ||||
|     handler: | ||||
|       openapi: | ||||
|         endpoint: https://git.andert.me/api/v1 | ||||
|         source: schemas/gitea.yml | ||||
|         operationHeaders: | ||||
|           Authorization: Bearer {env.GITEA_API} | ||||
|   - name: Directus | ||||
|     handler: | ||||
|       graphql: | ||||
| @@ -16,10 +9,17 @@ sources: | ||||
|         source: schemas/directus.graphql | ||||
|         operationHeaders: | ||||
|           Authorization: Bearer {env.DIRECTUS_API} | ||||
|   - name: Cloudron | ||||
|     handler: | ||||
|       openapi: | ||||
|         endpoint: https://my.andert.me/api/v1 | ||||
|         source: schemas/cloudron.json | ||||
|         operationHeaders: | ||||
|           Authorization: Bearer {env.CLOUDRON_API} | ||||
|   # - name: Cloudron | ||||
|   #   handler: | ||||
|   #     openapi: | ||||
|   #       endpoint: https://my.andert.me/api/v1 | ||||
|   #       source: schemas/cloudron.json | ||||
|   #       operationHeaders: | ||||
|   #         Authorization: Bearer {env.CLOUDRON_API} | ||||
|   # - name: Gitea | ||||
|   #   handler: | ||||
|   #     openapi: | ||||
|   #       endpoint: https://git.andert.me/api/v1 | ||||
|   #       source: schemas/gitea.yml | ||||
|   #       operationHeaders: | ||||
|   #         Authorization: Bearer {env.GITEA_API} | ||||
|   | ||||
| @@ -7,7 +7,9 @@ | ||||
|     "next:dev": "dotenv -e .env.local -- next dev", | ||||
|     "dev": "npm run mesh:dev && npm run next:dev", | ||||
|     "schema": "dotenv -- node ./src/fetch-schema.js", | ||||
|     "build": "mesh build && next build", | ||||
|     "mesh:build": "dotenv -e .env.production -- mesh build", | ||||
|     "next:build": "dotenv -e .env.production -- next build", | ||||
|     "build": "npm run mesh:build && npm run next:build", | ||||
|     "start": "next start", | ||||
|     "lint": "next lint" | ||||
|   }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user