Skip to content

Commit

Permalink
Update reposync.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-devtron authored Aug 22, 2023
1 parent 3cba1d6 commit 5ad01e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/reposync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
set -ex
export GIT_USERNAME="${GIT_CONFIG_NAME}"
export GIT_PASSWORD="${GH_TOKEN}"
export ENTERPRISE_REPO="https://github.com/kamal-devtron/testing.git"
git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/kamal-devtron/action-testing.git
git clone $ENTERPRISE_REPO
Expand All @@ -28,10 +29,10 @@ jobs:
echo $GIT_COMMIT
git status && git checkout main && git pull
cd ../testing && git status && git checkout main && git pull
git config --global user.email kamal@devtron.ai
git config --global user.name kamal-devtron
git config --global user.email $GIT_CONFIG_EMAIL
git config --global user.name $GIT_USERNAME
if git rev-parse --verify origin/release-candidate >/dev/null 2>&1; then
echo "Branch exsist"
else
Expand Down

0 comments on commit 5ad01e5

Please sign in to comment.