Skip to content

Commit

Permalink
fix: chmod로 권한 부여
Browse files Browse the repository at this point in the history
chmod 명령어를 통한 권한 부여
  • Loading branch information
hoyun06 authored Nov 26, 2023
1 parent 59c5df5 commit 03fe130
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
tar xzvf secrets.tar.gz -C src/main/resources
echo "$MY_S3CONFIG_ARCHIVE" | base64 --decode > s3config.tar.gz
tar xzvf s3config.tar.gz -C src/main/java/com/newfit/reservation/common/config
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
Expand Down Expand Up @@ -59,4 +61,4 @@ jobs:
- name: Execute remote commands
run: |
ssh -v ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }} "fuser -k 8080/tcp || true"
ssh -v ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }} "nohup java -jar reservation-0.0.1-SNAPSHOT.jar &"
ssh -v ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }} "nohup java -jar reservation-0.0.1-SNAPSHOT.jar &"

0 comments on commit 03fe130

Please sign in to comment.