-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 966 Bytes
/
build-demo.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
name: build-demo
on:
workflow_dispatch:
jobs:
build-dashboard:
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v4
with:
submodules: 'true'
path: src
- name: Build and Release
working-directory: src
run: make build_system_demo
- name: Checkout OOD
uses: actions/checkout@v4
with:
repository: hmdc/ondemand_development
ref: ood_staging_demo
path: target
- name: Copy OOD demo build
run: |
rm -rf target/*
cp -R src/ondemand/apps/dashboard/. target
rm -f target/public/.gitignore
- name: Commit new build
run: |
cd target
git config user.name "github-iqss[bot]"
git config user.email "github-iqss[bot]@users.noreply.github.com"
git add .
git commit -m "OOD main build"
git push