Skip to content

Commit d3de27a

Browse files
committed
fix: remove token and submodules option
1 parent 1c206d7 commit d3de27a

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

.github/workflows/dev-build-deploy-on-main.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,9 @@ jobs:
1616
env:
1717
AWS_REGION: us-east-2
1818
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 }}
3119
- name: Checkout tag
3220
uses: actions/checkout@v4
3321
with:
34-
submodules: recursive
3522
token: ${{ steps.generate_token.outputs.token }}
3623
- name: Pull MindsDB Github Actions
3724
uses: actions/checkout@v4
@@ -44,7 +31,6 @@ jobs:
4431
with:
4532
module-name: ${{ env.CI_REPOSITORY_SLUG }}
4633
build-for-environment: development
47-
# extra-build-args: -f docker/Dockerfile
4834

4935
deploy:
5036
runs-on: mdb-dev

.github/workflows/prod-build-deploy-on-release.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,14 @@ defaults:
1111

1212

1313
jobs:
14-
1514
build:
1615
runs-on: mdb-dev
1716
env:
1817
AWS_REGION: us-east-2
1918
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 }}
3219
- name: Checkout tag
3320
uses: actions/checkout@v4
3421
with:
35-
submodules: recursive
3622
token: ${{ steps.generate_token.outputs.token }}
3723
- name: Pull MindsDB Github Actions
3824
uses: actions/checkout@v4
@@ -45,7 +31,6 @@ jobs:
4531
with:
4632
module-name: ${{ env.CI_REPOSITORY_SLUG }}
4733
build-for-environment: production
48-
extra-build-args: -f docker/Dockerfile
4934
image-ref: ${{ env.CI_REF_SLUG }}
5035

5136
deploy-prod:

0 commit comments

Comments
 (0)