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