Browse Source

provide github token to infra repo (#1214)

Co-authored-by: Ruslan Ibragimov <ruibragimov@provectus.com>
Ruslan Ibragimov 3 years ago
parent
commit
56d0b0d5f6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/branch-deploy.yml
  2. 1 1
      .github/workflows/master.yaml

+ 1 - 1
.github/workflows/branch-deploy.yml

@@ -83,7 +83,7 @@ jobs:
         run: |
           cd kafka-ui-infra/aws-infrastructure4eks/argocd/scripts
           echo "Branch:${{ needs.build.outputs.tag }}"
-          ./kafka-ui-deployment-from-branch.sh ${{ needs.build.outputs.tag }}
+          ./kafka-ui-deployment-from-branch.sh ${{ needs.build.outputs.tag }} ${{ secrets.GITHUB_TOKEN }}
           git config --global user.email "kafka-ui-infra@provectus.com"
           git config --global user.name "kafka-ui-infra"
           git add ../kafka-ui-from-branch/

+ 1 - 1
.github/workflows/master.yaml

@@ -70,7 +70,7 @@ jobs:
           git clone https://kafka-ui-infra:${{ secrets.KAFKA_UI_INFRA_TOKEN }}@gitlab.provectus.com/provectus-internals/kafka-ui-infra.git --branch master
           cd kafka-ui-infra/aws-infrastructure4eks/argocd/scripts
           echo "Image digest is:${{ steps.docker_build_and_push.outputs.digest }}"
-          ./kafka-ui-update-master-digest.sh ${{ steps.docker_build_and_push.outputs.digest }}
+          ./kafka-ui-update-master-digest.sh ${{ steps.docker_build_and_push.outputs.digest }} ${{ secrets.GITHUB_TOKEN }}
           git config --global user.email "kafka-ui-infra@provectus.com"
           git config --global user.name "kafka-ui-infra"
           git add ../kafka-ui/*