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