File tree Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Expand file tree Collapse file tree 2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change 16
16
env :
17
17
AWS_REGION : us-east-2
18
18
steps :
19
- - name : Generate token
20
- # Use the Github App private key to request an installation
21
- # token with read-only access to the organization's private
22
- # repositories. This token is then used in the checkout step
23
- # (but not in subsequent steps that create releases and upload
24
- # assets, those still use the default token that has write
25
- # access to the current repository).
26
- id : generate_token
27
- uses : tibdex/github-app-token@v1
28
- with :
29
- app_id : ${{ secrets.ACTION_APP_ID }}
30
- private_key : ${{ secrets.ACTION_APP_KEY }}
31
19
- name : Checkout tag
32
20
uses : actions/checkout@v4
33
21
with :
34
- submodules : recursive
35
22
token : ${{ steps.generate_token.outputs.token }}
36
23
- name : Pull MindsDB Github Actions
37
24
uses : actions/checkout@v4
44
31
with :
45
32
module-name : ${{ env.CI_REPOSITORY_SLUG }}
46
33
build-for-environment : development
47
- # extra-build-args: -f docker/Dockerfile
48
34
49
35
deploy :
50
36
runs-on : mdb-dev
Original file line number Diff line number Diff line change @@ -11,28 +11,14 @@ defaults:
11
11
12
12
13
13
jobs :
14
-
15
14
build :
16
15
runs-on : mdb-dev
17
16
env :
18
17
AWS_REGION : us-east-2
19
18
steps :
20
- - name : Generate token
21
- # Use the Github App private key to request an installation
22
- # token with read-only access to the organization's private
23
- # repositories. This token is then used in the checkout step
24
- # (but not in subsequent steps that create releases and upload
25
- # assets, those still use the default token that has write
26
- # access to the current repository).
27
- id : generate_token
28
- uses : tibdex/github-app-token@v1
29
- with :
30
- app_id : ${{ secrets.ACTION_APP_ID }}
31
- private_key : ${{ secrets.ACTION_APP_KEY }}
32
19
- name : Checkout tag
33
20
uses : actions/checkout@v4
34
21
with :
35
- submodules : recursive
36
22
token : ${{ steps.generate_token.outputs.token }}
37
23
- name : Pull MindsDB Github Actions
38
24
uses : actions/checkout@v4
45
31
with :
46
32
module-name : ${{ env.CI_REPOSITORY_SLUG }}
47
33
build-for-environment : production
48
- extra-build-args : -f docker/Dockerfile
49
34
image-ref : ${{ env.CI_REF_SLUG }}
50
35
51
36
deploy-prod :
You can’t perform that action at this time.
0 commit comments