-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 880 Bytes
/
yki.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
name: YKI
on:
workflow_dispatch:
push:
paths:
- "backend/yki/**"
- "frontend/packages/yki/**"
- "!**/*.md"
# Setting 'branches' has the side effect that just pushing tags does not start workflows.
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
frontend:
uses: ./.github/workflows/common-frontend.yml
with:
app-name: "yki"
cypress-base-url: "http://localhost:4003"
backend:
needs: frontend
uses: ./.github/workflows/common-backend.yml
with:
app-name: "yki"
deploy:
needs: backend
uses: ./.github/workflows/common-deploy.yml
with:
app-name: "yki"
image-name: "yki-ui"
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}