Skip to content

style: WebConfig 주석 추가 #2

style: WebConfig 주석 추가

style: WebConfig 주석 추가 #2

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: ${{ secrects.EC2_PRIVATE_KEY }}

Check failure on line 19 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy To EC2

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 19, Col: 16): Unrecognized named-value: 'secrects'. Located at position 1 within expression: secrects.EC2_PRIVATE_KEY
envs: APPLICATION_PROPERTIES
script_stop: true
script: |
cd /home/ubuntu/LostArk
rm -rf src/main/resources/application.properties
git pull origin master
echo "$APPLICATION_PROPERTIES" > src/main/resources/application.properties
./gradlew clean build
sudo fuser -k -n tcp 8080 || true
nohup java -jar build/libs/*SNAPSHOT.jar > ./output.log 2>&1 &