diff --git a/.github/workflows/deploy_to_private_repo.yaml b/.github/workflows/deploy_to_private_repo.yaml index d4513a0b..990fe996 100644 --- a/.github/workflows/deploy_to_private_repo.yaml +++ b/.github/workflows/deploy_to_private_repo.yaml @@ -3,19 +3,18 @@ on: push: branches: - main - pull_request: - branches: - - main jobs: Clone-to-Target-Repo: runs-on: ubuntu-latest + environment: + name: ci-cd-env steps: - uses: actions/checkout@v4 - name: "Build app and deploy to vercel" - uses: aasmal97/RepoSync@v1.0.0 + uses: aasmal97/RepoSync@v1.1 with: - TARGET_REPO_URL: ${{secrets.TARGET_REPO_URL}} + TARGET_REPO_URL: ${{secrets.STUDY_AI_REPO_URL}} TARGET_REPO_BRANCH: main - TARGET_REPO_GITHUB_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + TARGET_REPO_GITHUB_ACCESS_TOKEN: ${{ secrets.STUDY_AI_REPO_ACCESS_TOKEN }} BOT_NAME: testing-bot BOT_EMAIL: arkyasmal@gmail.com \ No newline at end of file