File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Prerequisites:
2
+ # - silverhand-io/actions-node-pnpm-run-steps@v3
3
+ # - environment variables: DB_URL
4
+
5
+ name : Run Logto DB alteration steps
6
+ description : This action is used to run Logto DB alteration steps based on a given branch
7
+ inputs :
8
+ branch :
9
+ description : " Alterations source branch"
10
+ required : true
11
+ default : ${{ github.head_ref }}
12
+
13
+ runs :
14
+ using : composite
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+ with :
19
+ ref : ${{ inputs.branch }}
20
+ path : alterations
21
+ - name : Prepack ci for alterations
22
+ working-directory : alterations
23
+ shell : bash
24
+ run : |
25
+ pnpm i
26
+ pnpm prepack
27
+ - name : Run alteration scripts
28
+ working-directory : alterations
29
+ shell : bash
30
+ run : |
31
+ pnpm cli db alt deploy next
You can’t perform that action at this time.
0 commit comments