-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
32 lines (29 loc) · 962 Bytes
/
action.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
name: "Backbone in GitHub Actions"
description: "Start a Backbone Consumer API instance"
branding:
icon: "star"
color: "orange"
inputs:
consumerapi-version:
description: "Consumer API version"
required: true
consumerapi-port:
description: "Consumer API port"
required: false
default: "5000"
runs:
using: "composite"
steps:
- shell: bash
run: wget https://raw.githubusercontent.com/nmshd/backbone/capi/${CONSUMERAPI_VERSION}/setup-db/setup-postgres.sql
env:
CONSUMERAPI_VERSION: ${{ inputs.consumerapi-version }}
- shell: bash
run: wget https://raw.githubusercontent.com/nmshd/start-backbone/main/appsettings.override.json
- shell: bash
run: wget https://raw.githubusercontent.com/nmshd/start-backbone/main/compose.yml
- shell: bash
run: docker compose up -d
env:
CONSUMERAPI_TAG: ${{ inputs.consumerapi-version }}
PORT: ${{ inputs.consumerapi-port }}