Skip to content

Merge pull request #121 from JarvusInnovations/develop #93

Merge pull request #121 from JarvusInnovations/develop

Merge pull request #121 from JarvusInnovations/develop #93

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 skeleton-v2.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-v2.emr.ge/site-admin/sources/emergence-skeleton-v2/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-v2.emr.ge/site-admin/sources/emergence-skeleton-v2/sync-to-vfs" \
| jq '.'