diff --git a/.github/workflows/reliability-copilot.yml b/.github/workflows/reliability-copilot.yml index 12d8c518a5..5b81363e84 100644 --- a/.github/workflows/reliability-copilot.yml +++ b/.github/workflows/reliability-copilot.yml @@ -26,13 +26,11 @@ jobs: security-events: write steps: - - name: Checkout repository - uses: actions/checkout@v4 - + # Run Reliability Copilot in Doker Container - name: Run Copilot run: | - docker run --rm -v $(pwd):/repository -w /repository oneuptime/copilot:test \ + docker run --rm \ -e ONEUPTIME_URL='https://test.oneuptime.com' \ -e ONEUPTIME_REPOSITORY_SECRET_KEY=${{ secrets.COPILOT_ONEUPTIME_REPOSITORY_SECRET_KEY }} \ -e CODE_REPOSITORY_PASSWORD=${{ github.token }} \ diff --git a/docker-compose.copilot.yml b/docker-compose.copilot.yml index d1ffc1cc99..634d8f7867 100644 --- a/docker-compose.copilot.yml +++ b/docker-compose.copilot.yml @@ -2,7 +2,6 @@ services: copilot: volumes: - - ${COPILOT_REPOSITORY_LOCAL_PATH}:/repository - ./Copilot:/usr/src/app # Use node modules of the container and not host system. # https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder