File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2727 java-version : ' 17'
2828 distribution : ' temurin'
2929 - name : Build with Gradle
30- uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
30+ uses : gradle/gradle-build-action@v1 # 버전 명시 추가
3131 with :
3232 arguments : build
3333 - uses : actions/upload-artifact@v3
5050 username : kim87070396
5151 source : " devlog_springboot-0.0.1-SNAPSHOT.jar"
5252 target : " /home/kim87070396"
53- key : $PRIVATE_KEY
53+ key : ${{ secrets. PRIVATE_KEY }} # Secrets를 참조하는 방법 변경
5454
5555 run-app :
5656 needs : send-jar
@@ -65,12 +65,12 @@ jobs:
6565 username : kim87070396
6666 source : " deploy.sh"
6767 target : " /home/kim87070396"
68- key : $PRIVATE_KEY
68+ key : ${{ secrets. PRIVATE_KEY }} # Secrets를 참조하는 방법 변경
6969 - name : Execute script
7070 uses : appleboy/ssh-action@master
7171 with :
7272 username : kim87070396
7373 host : 34.22.91.27
74- key : $PRIVATE_KEY
74+ key : ${{ secrets. PRIVATE_KEY }} # Secrets를 참조하는 방법 변경
7575 script_stop : true
7676 script : cd /home/kim87070396 && chmod +x deploy.sh && ./deploy.sh
You can’t perform that action at this time.
0 commit comments