From 9e3e5e7495f5fa4a9b0ffe4eeea90bc425aef191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=ED=95=98=EB=8B=B4?= Date: Tue, 26 Dec 2023 18:24:26 +0900 Subject: [PATCH] Remove workflow file for testing --- .../deploy-test-with-github-hosted-runner.yml | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/deploy-test-with-github-hosted-runner.yml diff --git a/.github/workflows/deploy-test-with-github-hosted-runner.yml b/.github/workflows/deploy-test-with-github-hosted-runner.yml deleted file mode 100644 index e213fdbe..00000000 --- a/.github/workflows/deploy-test-with-github-hosted-runner.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Deploy test server to ec2 - -on: - push: - branches: - - refact/issue-533 - -jobs: - deploy: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16.x] - - steps: - - name: Checkout Repository - uses: actions/checkout@v3 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: executing remote ssh commands using ssh key - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.TEST_HOST }} # 인스턴스 IP - username: ${{ secrets.TEST_USERNAME }} # 우분투 아이디 - key: ${{ secrets.TEST_PEM_KEY }} # ec2 instance pem key - port: 22 - script: | - cp ~/config-injection/ecosystem-${{ env.SERVER_PROFILE }}.json ${{ env.PROJECT_PATH }}/ecosystem.json - cp ~/config-injection/envs/.env.${{ env.NODE_ENV }} ${{ env.PROJECT_PATH }}/.env - cd ${{ env.PROJECT_PATH }} - bash script/prebuild.sh - sh script/reload.sh - - env: - NODE_ENV: development - SERVER_PROFILE: development - PROJECT_PATH: ~/development