diff --git a/.github/workflows/backend-ci-deploy.yml b/.github/workflows/backend-ci-deploy.yml index 7e40009..7905d8b 100644 --- a/.github/workflows/backend-ci-deploy.yml +++ b/.github/workflows/backend-ci-deploy.yml @@ -1,4 +1,4 @@ -name: Build Jar File +name: Build And Push Docker Image on: push: @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v4 with: repository: BCSDLab/bcsdlab-credentials - token: ${{ secrets.CONFIG_REPO_ACCESS_TOKEN }} + ssh-key: ${{ secrets.CREDENTIALS_REPO_PEM_KEY }} sparse-checkout: bcsd-api/${{ env.TARGET_ENV }} path: .temp diff --git a/.github/workflows/per-merge-slack-sender.yml b/.github/workflows/per-merge-slack-sender.yml deleted file mode 100644 index 691ffc2..0000000 --- a/.github/workflows/per-merge-slack-sender.yml +++ /dev/null @@ -1,28 +0,0 @@ -on: - pull_request: - types: closed - -jobs: - check_pr_merged: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Check PR Merged - id: check_pr_merged - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const prUrl = context.payload.pull_request.html_url ?? context.payload.pull_request._links.html.href; - core.setOutput('pullRequestLink', JSON.stringify(prUrl)); - - - name: Send Slack Trigger - run: | - curl -X POST https://api-slack.internal.bcsdlab.com/api/pr-merged/backend \ - -H 'Content-Type: application/json' \ - -d '{ - "pullRequestLink": ${{ steps.check_pr_merged.outputs.pullRequestLink }} - }'