File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ lint :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - uses : pnpm/action-setup@v3
14
+ with :
15
+ version : 8
16
+ - uses : actions/setup-node@v4
17
+ with :
18
+ cache : pnpm
19
+ - run : pnpm i
20
+ - run : pnpm build
21
+ - uses : stoplightio/spectral-action@v0.8.10
22
+ with :
23
+ file_glob : ' tsp-output/*.yaml'
24
+ page-deployment :
25
+ needs : [lint]
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+ - uses : pnpm/action-setup@v3
30
+ with :
31
+ version : 8
32
+ - uses : actions/setup-node@v4
33
+ with :
34
+ cache : pnpm
35
+ - run : pnpm i
36
+ - run : pnpm build
37
+ - name : Setup Pages
38
+ uses : actions/configure-pages@v5
39
+ - name : Upload artifact
40
+ uses : actions/upload-pages-artifact@v3
41
+ with :
42
+ path : build/
43
+ - name : Deploy to GitHub Pages
44
+ id : deployment
45
+ uses : actions/deploy-pages@v4
46
+ library-deployment :
47
+ needs : [lint]
48
+ runs-on : ubuntu-latest
49
+ if : github.event_name == 'push'
50
+ strategy :
51
+ matrix :
52
+ repo :
53
+ - ' solvedac/api.ts'
54
+ - ' solvedac/api.rs'
55
+ steps :
56
+ - name : Invoke Workflow
57
+ uses : benc-uk/workflow-dispatch@v1
58
+ with :
59
+ workflow : Follow Up
60
+ token : ${{ secrets.WORKFLOW_DISPATCH }}
61
+ repo : ${{ matrix.repo }}
You can’t perform that action at this time.
0 commit comments