File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build and deploy samples
2+
3+ on :
4+ push :
5+ branches : [ "[0-9]+.[0-9]" ]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v3
14+
15+ - name : Checkout dist repo
16+ uses : actions/checkout@v3
17+ with :
18+ repository : IgniteUI/help-samples
19+ token : ${{ secrets.GH_PAT }}
20+ path : dist
21+
22+ - name : Setup Node
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : lts
26+
27+ - name : Cleanup target version
28+ run : rm -rf dist/${{ github.ref_name }}
29+
30+ - name : Build
31+ run : |
32+ npm install
33+ gulp build-samples --ignite-version ${{ github.ref_name }} --ignite-ui https://cdn-na.infragistics.com/igniteui/latest
34+
35+ - name : Commit and push to dist repo
36+ run : |
37+ cd dist
38+ git config user.email "igniteui@infragistics.com"
39+ git config user.name "igniteui-deploy"
40+ git add --all
41+ if [ -n "$(git status --porcelain)" ]; then git commit -m "Samples for ${{ github.ref_name }}"; fi
42+ git push -fq
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments