Skip to content

Merge pull request #369 from SlateFoundation/develop #163

Merge pull request #369 from SlateFoundation/develop

Merge pull request #369 from SlateFoundation/develop #163

Workflow file for this run

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 '.'