Skip to content

Commit 913f410

Browse files
committed
Update workflows
1 parent b83a713 commit 913f410

File tree

4 files changed

+45
-157
lines changed

4 files changed

+45
-157
lines changed

.github/workflows/cd.yaml

Lines changed: 0 additions & 131 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
inputs:
8+
environment_name:
9+
description: Environment
10+
required: true
11+
type: choice
12+
options:
13+
- dev
14+
- stg
15+
- qa
16+
- prod
17+
jobs:
18+
deploy:
19+
uses: fun-dotto/way/.github/workflows/backend-deploy.yml@main
20+
permissions:
21+
contents: read
22+
id-token: write
23+
with:
24+
environment_name: ${{ github.event.inputs.environment_name }}
25+
secrets: inherit

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
types:
10+
- opened
11+
- ready_for_review
12+
- reopened
13+
- synchronize
14+
workflow_dispatch:
15+
jobs:
16+
test:
17+
uses: fun-dotto/way/.github/workflows/backend-test.yml@main
18+
permissions:
19+
contents: read
20+
secrets: inherit

0 commit comments

Comments
 (0)