diff --git a/.gitea/workflows/default.yml b/.gitea/workflows/default.yml index 52ba93e..b6c17a3 100644 --- a/.gitea/workflows/default.yml +++ b/.gitea/workflows/default.yml @@ -26,17 +26,14 @@ jobs: - name: Push Docker image to registry run: docker push registry.rokoh.com/rokoh:latest - deploy: - runs-on: ubuntu-latest - - needs: build - - steps: - - name: Install Docker - uses: docker/setup-action@v2 - - - name: Pull Docker image from registry - run: docker pull registry.rokoh.com/rokoh:latest - - - name: Run Docker container - run: docker run -d -p 6000:80 registry.rokoh.com/rokoh:latest + - name: SSH Deploy + uses: appleboy/ssh-action@v1.0.3 + with: + host: 10.1.1.90 + username: ${{ secrets.SERVER_USERNAME }} + password: ${{ secrets.SERVER_PASSWORD }} + script: | + docker pull registry.rokoh.com/rokoh:latest + docker stop rokoh || true + docker rm rokoh || true + docker run -d --name rokoh -p 6000:80 registry.rokoh.com/rokoh:latest \ No newline at end of file diff --git a/.vs/rokoh/v17/.wsuo b/.vs/rokoh/v17/.wsuo index 9122543..7ca7b8d 100644 Binary files a/.vs/rokoh/v17/.wsuo and b/.vs/rokoh/v17/.wsuo differ diff --git a/.vs/rokoh/v17/DocumentLayout.json b/.vs/rokoh/v17/DocumentLayout.json index 81cd5dc..84ce202 100644 --- a/.vs/rokoh/v17/DocumentLayout.json +++ b/.vs/rokoh/v17/DocumentLayout.json @@ -1,7 +1,16 @@ { "Version": 1, "WorkspaceRootPath": "C:\\Users\\clive\\source\\repos\\rokoh\\", - "Documents": [], + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml||{8B382828-6202-11D1-8870-0000F87579D2}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:.gitea\\workflows\\default.yml||{8B382828-6202-11D1-8870-0000F87579D2}" + }, + { + "AbsoluteMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|c:\\users\\clive\\source\\repos\\rokoh\\rokoh\\pages\\index.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|solutionrelative:rokoh\\pages\\index.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}" + } + ], "DocumentGroupContainers": [ { "Orientation": 0, @@ -9,7 +18,7 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": -1, + "SelectedChildIndex": 3, "Children": [ { "$type": "Bookmark", @@ -18,6 +27,36 @@ { "$type": "Bookmark", "Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "Index.cshtml", + "DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Index.cshtml", + "RelativeDocumentMoniker": "rokoh\\Pages\\Index.cshtml", + "ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Index.cshtml", + "RelativeToolTip": "rokoh\\Pages\\Index.cshtml", + "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", + "WhenOpened": "2024-05-06T12:47:02.897Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "default.yml", + "DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml", + "RelativeDocumentMoniker": ".gitea\\workflows\\default.yml", + "ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml", + "RelativeToolTip": ".gitea\\workflows\\default.yml", + "ViewState": "AQIAAAkAAAAAAAAAAAAAABsAAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003775|", + "WhenOpened": "2024-05-06T12:33:48.592Z", + "EditorCaption": "" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" } ] }