Skip to content

add: WebConfig CORS 설정 https url 추가 #13

add: WebConfig CORS 설정 https url 추가

add: WebConfig CORS 설정 https url 추가 #13

Workflow file for this run

name: Deploy To EC2
on:
push:
branches:
- dev
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: SSH(원격 접속)로 EC2에 접속하기
uses: appleboy/[email protected]
env:
APPLICATION_PROPERTIES: ${{ secrets.APPLICATION_PROPERTIES }}
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}
envs: APPLICATION_PROPERTIES
script_stop: true
script: |
cd /home/ubuntu/LostArk
rm -rf src/main/resources/application.properties
git pull origin dev
echo "$APPLICATION_PROPERTIES" > src/main/resources/application.properties
./gradlew clean build
docker compose -f compose-prod.yml down
docker compose -f compose-prod.yml up --build -d