-
Notifications
You must be signed in to change notification settings - Fork 22
80 lines (76 loc) · 2.42 KB
/
holo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: Projections
on:
push:
tags:
- 'v2.*'
jobs:
holobranch-projections:
runs-on: ubuntu-latest
steps:
- name: 'Update holobranch: emergence/skeleton/v2'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: releases/v2
holobranch: emergence-skeleton
commit-to: emergence/skeleton/v2
- name: 'Update holobranch: emergence/vfs-site/v2'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: releases/v2
holobranch: emergence-vfs-site
commit-to: emergence/vfs-site/v2
- name: 'Update holobranch: subpackages/extjs-core-data/v2'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: releases/v2
holobranch: extjs-core-data
commit-to: subpackages/extjs-core-data/v2
- name: 'Update holobranch: subpackages/extjs-ui-classic/v2'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: releases/v2
holobranch: extjs-ui-classic
commit-to: subpackages/extjs-ui-classic/v2
- name: 'Update holobranch: subpackages/extjs-theme/v2'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: releases/v2
holobranch: extjs-theme
commit-to: subpackages/extjs-theme/v2
- name: 'Update v2.slate.is'
env:
VFS_DEV_TOKEN: ${{ secrets.VFS_DEV_TOKEN }}
run: |
# pull latest commit
curl -X POST \
--silent \
--show-error \
--fail \
-H "Authorization: Token ${VFS_DEV_TOKEN}" \
-H "Accept: application/json" \
"http://v2.slate.is/site-admin/sources/slate/pull?fetch=true" \
| jq '.'
# sync VFS to git
curl -X POST \
--silent \
--show-error \
--fail \
-H "Authorization: Token ${VFS_DEV_TOKEN}" \
-H "Accept: application/json" \
"http://v2.slate.is/site-admin/sources/slate/sync-to-vfs" \
| jq '.'