Skip to content

Commit

Permalink
feat: bash 쉘 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
minsang-alt authored Mar 3, 2024
1 parent c22c2df commit c995c16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backend-prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
needs: [ backend-docker-build-and-push ]
if: ${{ needs.backend-docker-build-and-push.result == 'success' }}
runs-on: [ self-hosted, enble-runner ]
timeout-minutes: 2 # 이 작업은 2분 후에 타임아웃됩니다.
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -49,6 +48,7 @@ jobs:
run: |
echo "${{ secrets.PEM_KEY }}" > pem_key
chmod 600 pem_key
shell: bash

- name: WAS 인스턴스 접속 및 애플리케이션 실행 (첫 번째 시도)
run: |
Expand All @@ -57,6 +57,7 @@ jobs:
docker pull ${{ env.DOCKER_HUB_REPOSITORY }}:${{ github.sha }}
docker run -d -p 8080:8080 --name agilehub-backend ${{ env.DOCKER_HUB_REPOSITORY }}:${{ github.sha }}
EOF
shell: bash

attempt-with-second-runner:
needs: [ attempt-with-first-runner ]
Expand Down

0 comments on commit c995c16

Please sign in to comment.