From 03fe13041cab1f83cc9bb3ef2751a1fcb98f53d9 Mon Sep 17 00:00:00 2001 From: hoyun06 <97820785+hoyun06@users.noreply.github.com> Date: Sun, 26 Nov 2023 15:52:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20chmod=EB=A1=9C=20=EA=B6=8C=ED=95=9C=20?= =?UTF-8?q?=EB=B6=80=EC=97=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chmod 명령어를 통한 권한 부여 --- .github/workflows/cicd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index f955d0f8..ad207378 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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: @@ -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 &" \ No newline at end of file + ssh -v ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }} "nohup java -jar reservation-0.0.1-SNAPSHOT.jar &"