Skip to content

Commit 5539923

Browse files
authored
Merge pull request #81 from NameOfTeam/features/deploy-remove-sudo
feat: add https and remove sudo
2 parents d8e48fc + 8f4e66a commit 5539923

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
port: ${{ secrets.SSH_PORT }}
5353
envs: GITHUB_SHA
5454
script: |
55-
sudo docker rm -f $(docker ps -qa)
56-
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }}
55+
docker rm -f $(docker ps -qa)
56+
docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPOSITORY }}
5757
docker compose up -d
5858
docker image prune -f
5959

src/main/kotlin/com/solve/global/config/swagger/SwaggerConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class SwaggerConfig {
1818
.addSecurityItem(SecurityRequirement().addList("Authorization"))
1919
.servers(
2020
listOf(
21-
Server().url("http://solveapi.jmino.me").description("Production Server"),
21+
Server().url("https://solveapi.jmino.me").description("Production Server"),
2222
Server().url("http://localhost:8080").description("Development Server"),
2323
)
2424
)

0 commit comments

Comments
 (0)