Skip to content

Commit 1f1b9ba

Browse files
committed
feat: ci/cd
1 parent 15b6171 commit 1f1b9ba

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Continuous Delivery
2+
3+
on:
4+
push:
5+
branches: [main]
6+
release:
7+
types: [published]
8+
workflow_dispatch:
9+
inputs:
10+
environment:
11+
description: Environment
12+
type: environment
13+
required: true
14+
15+
jobs:
16+
cd:
17+
uses: czetsuyatech/actions/.github/workflows/cd.yml@main
18+
with:
19+
javaVersion: '17'
20+
secrets:
21+
githubAppId: ${{ secrets.CT_RELEASE_APP_ID }}
22+
githubAppPrivateKey: ${{ secrets.CT_RELEASE_APP_PRIVATE_KEY }}
23+
githubToken: ${{ secrets.GH_PKG_TOKEN }}

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
types: [opened, reopened, synchronize, edited, ready_for_review]
9+
10+
jobs:
11+
ci:
12+
uses: czetsuyatech/actions/.github/workflows/ci.yml@main
13+
with:
14+
javaVersion: '17'
15+
secrets:
16+
githubToken: ${{ secrets.GH_PKG_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ target/
9898
# Ignore files and folders starting with dot (except gitignore)
9999
.*
100100
!/.gitignore
101+
!/.github
101102
/nbproject/

0 commit comments

Comments
 (0)