From c89b27f02b87fde621a8fccbb6490bd775152348 Mon Sep 17 00:00:00 2001 From: Lanky Date: Sun, 11 Aug 2024 21:11:10 +0100 Subject: [PATCH 1/4] Update pr-deploy.yml --- .github/workflows/pr-deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index 2c28b1a6..aae382e1 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -21,13 +21,13 @@ jobs: server_host: ${{ secrets.SERVER_HOST }} server_username: ${{ secrets.SERVER_USERNAME }} server_password: ${{ secrets.SERVER_PASSWORD }} - server_port: ${{ secrets.SERVER_PORT }} + # server_port: ${{ secrets.SERVER_PORT }} comment: true context: '.' dockerfile: 'Dockerfile' exposed_port: '8000' - host_volume_path: '/var/appdata' - container_volume_path: '/app/data' + # host_volume_path: '/var/appdata' + #container_volume_path: '/app/data' github_token: ${{ secrets.GITHUB_TOKEN }} - name: Print Preview URL From 7bde5fa5ab50c2bdfe5c20f7a40a53571c86331f Mon Sep 17 00:00:00 2001 From: Lanky Date: Sun, 11 Aug 2024 21:32:05 +0100 Subject: [PATCH 2/4] Update pr-deploy.yml --- .github/workflows/pr-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index aae382e1..c3e0d871 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -16,18 +16,18 @@ jobs: - id: deploy name: Pull Request Deploy - uses: hngprojects/pr-deploy@main + uses: hngprojects/pr-deploy@2.1.0 with: server_host: ${{ secrets.SERVER_HOST }} server_username: ${{ secrets.SERVER_USERNAME }} server_password: ${{ secrets.SERVER_PASSWORD }} - # server_port: ${{ secrets.SERVER_PORT }} + server_port: ${{ secrets.SERVER_PORT }} comment: true context: '.' dockerfile: 'Dockerfile' exposed_port: '8000' - # host_volume_path: '/var/appdata' - #container_volume_path: '/app/data' + host_volume_path: '/var/appdata' + container_volume_path: '/app/data' github_token: ${{ secrets.GITHUB_TOKEN }} - name: Print Preview URL From 8b7caec0b5c4851a7b0c411d629dadaa52156f00 Mon Sep 17 00:00:00 2001 From: Lanky Date: Sun, 11 Aug 2024 21:35:55 +0100 Subject: [PATCH 3/4] Update pr-deploy.yml --- .github/workflows/pr-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index c3e0d871..2c28b1a6 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -16,7 +16,7 @@ jobs: - id: deploy name: Pull Request Deploy - uses: hngprojects/pr-deploy@2.1.0 + uses: hngprojects/pr-deploy@main with: server_host: ${{ secrets.SERVER_HOST }} server_username: ${{ secrets.SERVER_USERNAME }} From 048328ab198df2078644c619d063d116ef11f655 Mon Sep 17 00:00:00 2001 From: Lanky Date: Mon, 12 Aug 2024 15:52:51 +0100 Subject: [PATCH 4/4] Update pr-deploy.yml --- .github/workflows/pr-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-deploy.yml b/.github/workflows/pr-deploy.yml index 2c28b1a6..5145b8df 100644 --- a/.github/workflows/pr-deploy.yml +++ b/.github/workflows/pr-deploy.yml @@ -16,7 +16,7 @@ jobs: - id: deploy name: Pull Request Deploy - uses: hngprojects/pr-deploy@main + uses: hngprojects/pr-deploy@main-patch with: server_host: ${{ secrets.SERVER_HOST }} server_username: ${{ secrets.SERVER_USERNAME }}