File tree 1 file changed +25
-2
lines changed
1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 34
34
working-directory : tech-docs
35
35
- name : Bundle OpenAPI specs
36
36
run : |
37
- curl -sf localhost:8080/v3/api-docs -o api-docs.json
37
+ mkdir openapi
38
+ curl -sf localhost:8080/v3/api-docs -o openapi/api-docs.json
38
39
working-directory : tech-docs/build
39
40
- uses : actions/upload-artifact@v4
40
41
with :
41
- path : tech-docs/build
42
+ name : documentation
43
+ path : tech-docs/build/
44
+
45
+ deploy :
46
+ runs-on : ubuntu-latest
47
+ if : github.ref_name == 'main' || (github.event_name == 'workflow_dispatch')
48
+ needs :
49
+ - build
50
+ steps :
51
+ - uses : actions/checkout@v4
52
+ - uses : actions/download-artifact@v4
53
+ with :
54
+ name : documentation
55
+ path : tech-docs-build
56
+ - name : debug
57
+ run : |
58
+ ls -la
59
+ ls -laR tech-docs-build
60
+
61
+ - name : Deploy
62
+ uses : JamesIves/github-pages-deploy-action@920cbb300dcd3f0568dbc42700c61e2fd9e6139c # v4.6.4
63
+ with :
64
+ folder : tech-docs-build
You can’t perform that action at this time.
0 commit comments