File tree 2 files changed +13
-14
lines changed
services/content-publishing
2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 22
22
service :
23
23
- account
24
24
- content-watcher
25
- # - content-publishing
25
+ - content-publishing
26
26
# - graph
27
27
28
28
steps :
@@ -88,29 +88,28 @@ jobs:
88
88
name : openapi-account
89
89
path : ./docs/account
90
90
91
- - name : Upload final result to GitHub Pages
92
- uses : actions/upload-pages-artifact@v3
93
- with :
94
- path : ./docs
95
-
96
91
- name : Download content-watcher OpenAPI artifacts
97
92
uses : actions/download-artifact@v4
98
93
with :
99
94
name : openapi-content-watcher
100
95
path : ./docs/content-watcher
101
96
102
- # - name: Download content-publishing OpenAPI artifacts
103
- # uses: actions/download-artifact@v4
104
- # with:
105
- # name: openapi-content-publishing
106
- # path: ./docs/content-publishing
97
+ - name : Download content-publishing OpenAPI artifacts
98
+ uses : actions/download-artifact@v4
99
+ with :
100
+ name : openapi-content-publishing
101
+ path : ./docs/content-publishing
107
102
108
103
# - name: Download graph OpenAPI artifacts
109
104
# uses: actions/download-artifact@v4
110
105
# with:
111
106
# name: openapi-graph
112
107
# path: ./docs/graph
113
108
109
+ - name : Upload final result to GitHub Pages
110
+ uses : actions/upload-pages-artifact@v3
111
+ with :
112
+ path : ./docs
114
113
- name : Deploy to GitHub Pages
115
114
id : deployment
116
115
uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 5
5
"main" : " dist/apps/api/main.js" ,
6
6
"scripts" : {
7
7
"build" : " nest build api && nest build worker" ,
8
- "build:swagger" : " npx ts-node -r tsconfig-paths/register apps/api/src/build-openapi.ts" ,
9
- "build:metadata" : " npx ts-node apps/api/src/generate-metadata.ts" ,
10
- "generate-swagger-ui" : " npx --yes @redocly/cli build-docs swagger.json --output=./docs/index.html" ,
8
+ "build:swagger" : " set -a ; . ./env.template ; npx ts-node -r tsconfig-paths/register apps/api/src/build-openapi.ts" ,
9
+ "build:metadata" : " set -a ; . ./env.template ; npx ts-node apps/api/src/generate-metadata.ts" ,
10
+ "generate-swagger-ui" : " set -a ; . ./env.template ; npx --yes @redocly/cli build-docs swagger.json --output=./docs/index.html" ,
11
11
"format" : " prettier --write \" apps/**/*.ts\" \" libs/**/*.ts\" " ,
12
12
"start:api" : " nest start api" ,
13
13
"start:api:watch" : " nest start api --watch" ,
You can’t perform that action at this time.
0 commit comments