-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.56 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
name: Projections
on:
push:
branches:
- master
jobs:
holobranch-projections:
runs-on: ubuntu-latest
steps:
- name: 'Update holobranch: emergence/skeleton/master'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: master
holobranch: emergence-skeleton
commit-to: emergence/skeleton/master
- name: 'Update holobranch: emergence/vfs-site/master'
uses: JarvusInnovations/hologit@actions/projector/v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HAB_LICENSE: accept
with:
ref: master
holobranch: emergence-vfs-site
commit-to: emergence/vfs-site/master
- name: 'Update http://skeleton.sla.slatepowered.net/'
env:
VFS_DEV_TOKEN: ${{ secrets.VFS_DEV_TOKEN }}
run: |
# pull latest commit
curl -X POST \
--silent \
--fail \
--show-error \
-H "Authorization: Token ${VFS_DEV_TOKEN}" \
-H "Accept: application/json" \
"http://skeleton.sla.slatepowered.net/site-admin/sources/scienceleadership-skeleton/pull?fetch=true" \
| jq '.'
# sync VFS to git
curl -X POST \
--silent \
--fail \
--show-error \
-H "Authorization: Token ${VFS_DEV_TOKEN}" \
-H "Accept: application/json" \
"http://skeleton.sla.slatepowered.net/site-admin/sources/scienceleadership-skeleton/sync-to-vfs" \
| jq '.'